TCP/IP messaging library wanted

TCP/IP messaging library wanted

Post by Guy Dallai » Thu, 09 Oct 1997 04:00:00



Hello,

I'm currently working on a project and would like to obtain a TCP/IP
library that uses standard socket programming and that can do the
following:

I have various "client" (Unix boxes (all sorts), PC's running win
3.11, win 95, NT) and some servers. What I need is a library that
could be used by my "clients" to send a message (any kind of data) to
some specific "server" (Unix boxes, all types) and get a reply from
the server, in a synchronous way, using TCP if possible (reliable
protocol)

From the client side, a call to a server could ressemble to something
like that (prototype):

int iSendMsgToServer(int iServerID, unsigned int uiLenMsg, void
*pvMsg);

So I could send a message of arbitrary length to any server, the
message content being application dependant. The message should be
sent in network byte ordering and the call should return an answer
from the server (>=0) or an error code <0.

The server could possibly answer more than one request at a time
(fork), but I don't care if clients have to wait or time out if the
server is too busy. But in the later case, the clients should wait a
bit before deciding that there is a time out.

I wanted to program this with an ONC RPC package that is included with
Digital Unix, but such a thing does not exist uner other UNIX flavors,
and windows sockets 1.1 does not support RPC's.

I want the library to be easy to use and the "client" part should be
portable, so my "server" could act as clients of other servers on the
network.

Any help would greatly be appreciated !


Thanks !

 
 
 

1. TCP/IP messaging library wanted

Hello,

I'm currently working on a project and would like to obtain a TCP/IP
library that uses standard socket programming and that can do the
following:

I have various "client" (Unix boxes (all sorts), PC's running win
3.11, win 95, NT) and some servers. What I need is a library that
could be used by my "clients" to send a message (any kind of data) to
some specific "server" (Unix boxes, all types) and get a reply from
the server, in a synchronous way, using TCP if possible (reliable
protocol)

From the client side, a call to a server could ressemble to something
like that (prototype):

int iSendMsgToServer(int iServerID, unsigned int uiLenMsg, void
*pvMsg);

So I could send a message of arbitrary length to any server, the
message content being application dependant. The message should be
sent in network byte ordering and the call should return an answer
from the server (>=0) or an error code <0.

The server could possibly answer more than one request at a time
(fork), but I don't care if clients have to wait or time out if the
server is too busy. But in the later case, the clients should wait a
bit before deciding that there is a time out.

I wanted to program this with an ONC RPC package that is included with
Digital Unix, but such a thing does not exist uner other UNIX flavors,
and windows sockets 1.1 does not support RPC's.

I want the library to be easy to use and the "client" part should be
portable, so my "server" could act as clients of other servers on the
network.

Any help would greatly be appreciated !


Thanks !

2. compiling 2.2.19 -- printer support

3. SLS X wants tcp/ip, tcp/ip won't compile, what now?

4. difficulties with open()

5. !!DDE->TCP/IP, REAL TIME DATA PUMP, Trans.DDE App.DATA via TCP/IP

6. Another CD-Rom problem (Acer)

7. Setting up rquotad

8. tcp/ip ppp hangup in sco 3242 tcp/ip 121