in reply to how to control segmented messages in TCP chat client
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, |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to control segmented messages in TCP chat client
by thanos1983 (Parson) on Aug 24, 2014 at 11:01 UTC |