Hi, maybe this is a silly question, I hope to be clear: what I want is to have a server, and once a connection is established (by using accept and then fork) use the connect() function to connect to another application using the parameters that the client that connect to my server gave me. I hope its clear and I don't think is something very complicated, but I need an example code.
If its not clear don't hesitate to ask. Thanks in advance.