SOCKET_read - Read on an opened RAW SOCKET Session
id specify the opened RAW Socket Session you want to read. Id is an integer between 0 and 31.
buffer_size is an integer. This is the number of character you plane to read on the Socket.
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();
SOCKET_init , SOCKET_open , SOCKET_close , SOCKET_write , SOCKET_query ,