Boost logo

Boost Users :

Subject: Re: [Boost-users] passing socket descriptor to a function
From: pedro chaparro (pdro07_at_[hidden])
Date: 2010-01-27 10:36:01


hi for the fast answer, i have other question respect to this, what about if
i wanna a function return the socket descriptor value? what must be the type
of value retuned? an int value?
thanks

2010/1/27 Igor R <boost.lists_at_[hidden]>

> > void escribir( tcp::socket socket)
>
> should be:
>
> void escribir( tcp::socket &socket)
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Ing Pedro Alonso Chaparro Valero
Ciudad Politecnica de la Innovación
iTEAM - Mobile Communications Group
Polytechnic University of Valencia
C\ Camino de Vera S/N, Edificio 8G
46022 Valencia, Spain


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net