SOC3010 OPERATING SYSTEMS
HOME ASSIGNMENT 3
FALL 2022
#include
#include
#include
#include
#include
#define PORT 8080
int main(int argc, char const *argv[])
{
struct sockaddr_in address;
int sock = 0, valread;
struct sockaddr_in serv_addr;
char *hello = "Hello from client";
char buffer[1024] = {0}, cchat[1024];
Do'stlaringiz bilan baham: