Documentation
Last update : 31/10/2005

SOCKET_write - Write on an opened RAW SOCKET Session

Calling Sequence

SOCKET_write(id,command)

Description

id specify the opened RAW Socket Session you want to write. Id is an integer between 0 and 31.

command is a string you want to send to the opened Socket.

Examples

SOCKET_open(1,"10.0.0.1",23);	// The session #1 is opened
SOCKET_open(2,"10.0.0.2",23);	// The session #2 is opened

// Now we can communicate with devices...

// SOCKET_query(2,"help",3000) or...
SOCKET_write(2,"help");
SOCKET_read(2,3000)

SOCKET_query(1,"IP?",300)

// TO close every WinSocket session...
SOCKET_close();

  

See Also

SOCKET_init ,   SOCKET_open ,   SOCKET_close ,   SOCKET_query ,   SOCKET_read ,  

Author

Tibault Reveyrand