Tcp {active, true} problem

Martin Logan martin@REDACTED
Fri Aug 4 23:42:03 CEST 2000


Hello all, 
	I am writing a proxy server in erlang. I have run into a slight
problem with gen_tcp. I am using {active, true} and receiving with

receive
	{tcp, Socket, Packet} -> 
end

If I send packets to this at a 500 milliseconds apart I receive all of the
packets perfectly and the proxy works well. My problem arises when I send
a number of packets quickly( < 500 ms). I receive them as one large ascii
string. I was wondering, befor I write a parser of sorts, if there is some
other way to deal with this problem. 
			Thank you,
			Martin Logan




More information about the erlang-questions mailing list