Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 4 months ago.
How to use bind at socket origin local side ?
I'm implementing a tiny FTP server, it need data connection that specified origin port# . But I cant use bind() with TCPSocketConnection object. How resolve it ? ( I'd tried quick hack that cut&paste insert the bind func. from TCPSocketServer to TCPSocketConnection class of lib but in vain....;p)
Self Solved. member function bind() adding that shares init_socket() with connect(), if it not initialized, do it.
posted by hiro . 23 Jul 2015