Search found 1 match

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

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(){ Connect(); //fu...