Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   reading msg buffer from local port (http://www.go4expert.com/forums/reading-msg-buffer-local-port-t19319/)

raju4756 6Sep2009 19:33

reading msg buffer from local port
 
hi..

my current problem is i have message keep coming to my local system port from one of my networked computer..
that is through socket programming(using udp).. and the application which im running in my system is win32 not mfc based...

and my project doesn't allow me to use mfc (might sound strange.. where cAsynchronous class is the only solution for an asynchronous UDP socket, i googled so far..).. and if there is a way to read incoming message (asynchronously and doesn't block my execution..so that i run the rest of my processes which include my menu handling, and blah, blah, blah, is there is a message of some type i should read it as it comes.. otherwise do my rest of the processess)....

previously just to recieve some msg outside mfc using udp i worked with recievefrom and other recieve functions that come with udp socket class members.. (and i even don't need the need to notify the incoming message thats why i went to udp not tcp..)

so finally what i need is just recieve message buffer from my local port.. and my work is done...


All times are GMT +5.5. The time now is 02:23.