Hello, absolute N00b here. Got the error "Type or namespace definition, or end-of-file expected" Below is that piece of code. Any help?

 //{
}
include <stdio.h>;
include <stdlib.h>;
include <string.h>;
include <stdint.h>;
include <unistd.h>;
include <netdb.h>;
include <signal.h>;
include <sys/socket.h>;
include <sys/types.h>;
include <netinet/in.h>;
include <arpa/inet.h>;>
}

First of all, this looks like C++ not C#. Second of all, I suspect that the error is either caused by the curly brackets at line 2 and/or 14 as well as the typo on line 13 (get rid of the '>' character).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.