PDA

View Full Version : Bash and socket usage.



Gosujii-sama
May 7th, 2011, 03:56 PM
I've done a little research in this area and there doesn't seem to be any clear answer to my issue. Basically I want to create a tcp two way socket between my terminal client and a server using bash. It needs to read and write the socket. I've looked at netcat, telnet, and other methods, but none seem to work both ways in the fasion I need them too. Does anyone know a method to send and recv data on a socket in a bash source script?