It'll work a lot better if you replace the comma with a semicolon...
print CLIENT "Hello from the server: ", ^
With a comma, the subsequent close CLIENT is evaluated before the print (because it is an argument to print), which is why you get the error.
In reply to Re: New in socket programming .. getting error in socket handle
by almut
in thread New in socket programming .. getting error in socket handle
by sajanagr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |