suresh saragadam wrote: > and if i use data transmission in 'active mode' > can i elemenate the use of gen_tcp:recv/N Well yes you can! But I would consider using the option active_once. /Ingela Ericsson AB - OTP team