18#define COM1_PORT 0x03F8
19#define COM2_PORT 0x02F8
20#define COM3_PORT 0x03E8
21#define COM4_PORT 0x02E8
29 SOCKET * ClientSocketArg,
30 SOCKET * ListenSocketArg);
VOID RemoteConnectionListen(PCSTR Port)
Listen of a port and wait for a client connection.
Definition remote-connection.cpp:40
INT CommunicationServerSendMessage(SOCKET ClientSocket, const CHAR *sendbuf, INT length)
send message as the server
Definition tcpserver.cpp:188
INT CommunicationClientSendMessage(SOCKET ConnectSocket, const CHAR *sendbuf, INT buflen)
Send message a client.
Definition tcpclient.cpp:111
INT CommunicationServerShutdownAndCleanupConnection(SOCKET ClientSocket, SOCKET ListenSocket)
Shutdown and cleanup connection as server.
Definition tcpserver.cpp:216
VOID RemoteConnectionConnect(PCSTR Ip, PCSTR Port)
Connect to a remote debuggee (guest) as a client (host).
Definition remote-connection.cpp:315
INT CommunicationServerReceiveMessage(SOCKET ClientSocket, CHAR *recvbuf, INT recvbuflen)
listen and receive message as the server
Definition tcpserver.cpp:147
INT RemoteConnectionSendCommand(const CHAR *sendbuf, INT len)
send the command as a client (debugger, host) to the server (debuggee, guest)
Definition remote-connection.cpp:445
INT CommunicationClientReceiveMessage(SOCKET ConnectSocket, CHAR *RecvBuf, UINT32 MaxBuffLen, PUINT32 BuffLenRecvd)
Receive message as a client.
Definition tcpclient.cpp:173
INT RemoteConnectionSendResultsToHost(const CHAR *sendbuf, INT len)
Send the results of executing a command from deubggee (server, guest) to the debugger (client,...
Definition remote-connection.cpp:481
int CommunicationServerCreateServerAndWaitForClient(PCSTR Port, SOCKET *ClientSocketArg, SOCKET *ListenSocketArg)
Create server and wait for a client to connect.
Definition tcpserver.cpp:31
INT RemoteConnectionCloseTheConnectionWithDebuggee()
Close the connect from client side to the debuggee.
Definition remote-connection.cpp:504
INT CommunicationClientCleanup(SOCKET ConnectSocket)
cleanup the connection as client
Definition tcpclient.cpp:216
INT CommunicationClientShutdownConnection(SOCKET ConnectSocket)
shutdown the connection as a client
Definition tcpclient.cpp:137
INT CommunicationClientConnectToServer(PCSTR Ip, PCSTR Port, SOCKET *ConnectSocketArg)
communication for client, connecting to the server
Definition tcpclient.cpp:23