CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Network/socket question

 



blindmonkey
New User

Apr 21, 2008, 7:49 AM

Post #1 of 1 (262 views)
Network/socket question Can't Post

Hi, I'm writing a client/server script, where the two will communicate with each other, and I have a problem. Let's say that I have the client send something to the server, like "HELLO", the server won't get it until the client disconnects. I'm using a

Code
while ($line = <SOCKET>)

loop on the server side and a

Code
print SOCKET "HELLO"

on the client side.

Can anyone help me?

Thanks in advance.


(This post was edited by blindmonkey on Apr 21, 2008, 7:50 AM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives