Hello thanos1983,
This is not an answer to your question, just an observation on one part of the code.
In Client.pl there is a subroutine sub receive which references $_[0], i.e. the first argument passed into the sub. This subroutine is called three times within Client.pl, each time like this:
$receive_msg = receive()
with no arguments passed in. So $_[0] is in all cases uninitialised, and the sub call accomplishes nothing.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re: how to control segmented messages in TCP chat client
by Athanasius
in thread how to control segmented messages in TCP chat client
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |