i have used socket name space to establish connection between two system, now i am able to send and receive message , now i want to get information about packet that has been received , like header information( sender Address , ttl and ... )
int sendCount = 1;// Number of times to send the response
int bufferSize = 4096;// Size of the send and receive buffers
IPAddress localAddress = IPAddress.Any;
SocketType sockType;
ProtocolType sockProtocol;
int rc;
Socket clientSocket;
byte[] receiveBuffer, sendBuffer;
Socket serverSocket = null;