Search found 1 match

by ronaldyorts
Sun Apr 23, 2017 4:32 pm
Forum: DS/DSi Development
Topic: send() hangs
Replies: 0
Views: 7642

send() hangs

I want to send a string to my nodejs TCP server. This is the code for my client (C++): #include <nds.h> #include <dswifi9.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <string> std::string hostname = "hostname"; int port = 61733; int sock; int main(){ Conne...