Hello, In my packet_handler function, I need a way to distinguish the packets sent by the client and packets sent by the server. Currently I'm considering the ip address fields in the ipheader structure and I wonder if there is a more elegant way. Thanks, Can Hosgor