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: Edit Log



blindmonkey
New User

Apr 21, 2008, 7:49 AM


Views: 350
Network/socket question

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)


Edit Log:
Post edited by blindmonkey (New User) on Apr 21, 2008, 7:50 AM: Markup


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

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