Handle every connection on different windows really simple, like chatting!
Whit this too you can start a server, what listens on a specific port and/or connect to a specific host name with a specific port. The incomming/outgoing connections are appearing in popup windows.
Written in Lazarus