receive

udp socket programming in windows

Hi, I developed code to receive udp packets from the port. But after calling recvfrom() nothing is happening. Following is my code and output. Please help. Thanks in advance.... #include "udpSocket.h" int main(void) { SOCKET sockID; WSADATA wsaData = {0}; FILE *udp; char buf[512]; static int recvData; int iResult = 0; int s...

Send and receive emails from localhost using PHP running XAMPP

I am trying to make an application which can parse emails and update the database. I tried to set up the localhost to send and receive emails so that I can carry on from there. I am unable to do that. I tried configuring Outlook, Thunderbird to set up local email system using mercury mail server. Its not working properly. I would like ...

Send and receive serialize object on UDP in java

Hi to all of you; I am trying to send a serialized object from a server process to a client process in Java using UDP. The problem is that the client is being blocked on the receive method. Can someone help?! here is the server code for sending the object: ClientModel C1= new ClientModel(100,"Noor","Noor",38,38,"asd"); ByteArrayOu...