Skip to content
Snippets Groups Projects
Commit a4401330 authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci Committed by Danilo K. S. Yorinori
Browse files

lib/stdsoap2.c: Added GSOAP library source file


This file has a few modifications that extends the functionalities of GSOAP
library to allow the client to bind to a specific network interface,
before connecting to the server.

It uses the "device" variable added in the header file to check if the
client wants to bind to a network device. If not NULL, it gets the address
of the NIC whose name is the value of "device" variable inside the soap
struct, and binds the socket to the interface.

This happens inside tcp_connect().

Also, "device" is desallocated if not NULL, inside soap_done().

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarRicardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
Signed-off-by: default avatarDanilo K. S. Yorinori <danilok@c3sl.ufpr.br>
parent 12981117
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment