shiyilei / protobuf-c

Automatically exported from code.google.com/p/protobuf-c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

giving static ip address to protobuf-c rpc server #92

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I want to assign a static ipv4 address to the server along with the port but 
the examples that I have seen provide only the port when creating a new rpc 
server as shown below

server = protobuf_c_rpc_server_new (address_type, name, (ProtobufCService *) 
&the_dir_lookup_service, NULL);

where name = port number (as character array).

Kindly can you please suggest how can I give the ip address to the rpc server  
using the protobuf-c rpc implementation.

Thanks

Wajeeha

Original issue reported on code.google.com by waje...@xgridtech.com on 9 Jan 2013 at 1:12