-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tcp:bind() crashes the app #10
Comments
I'm working on it, it crashes at int servfd = socket(AF_INET, SOCK_STREAM, 0);
struct sockaddr_in addr;
addr.sin_family = AF_INET;
addr.sin_addr.s_addr = gethostid();
addr.sin_port = htons(5000);
bind(servfd, (struct sockaddr*)&addr, sizeof(addr)); It causes a segfault and I absolutely don't know why. (Also, I added |
Hmm, i guess i'll just do inverse connection until this is fixed. Would really like to help, but i don't know much about C. I'm more comfortable with managed languages. (Also, thanks for the cstick thing, my prayers have been answered) |
|
Doesn't crash with my test code, could you past yours ? All these crashes are very strange ... |
Is there any way i can contact you directly? I have, uh, some noob questions |
Install Tox, add our bot 6CCD59D3272F6BC3332A5A89BE830732458D2A66CAC519364A220684A629C37CA9AF3068A5CC and send "invite" to come to the room. We should add it to the readme ... This week maybe. EDIT: my personal ID: FFBDC8B34DC3CDE51F8F1CB0A628147DE740ACD1D44682EB5492A681F6541E32E8D8BB6052B3 |
When i try to start a TCP Server, the app instantly hangs on both citra and my console:
This happens right after calling tcp:bind(5000) in my app.
The text was updated successfully, but these errors were encountered: