Search found 2 matches

by rodries
Wed Feb 01, 2017 2:33 pm
Forum: Announcements
Topic: Kitchen Sink Update
Replies: 16
Views: 59277

Re: Kitchen Sink Update

Wiimc recompiled and everything works fine
by rodries
Mon Jun 13, 2011 8:19 am
Forum: Gamecube/Wii Development
Topic: LWP_CreateThread counterpart to stop thread execution?
Replies: 2
Views: 6445

Re: LWP_CreateThread counterpart to stop thread execution?

You have to make the socket nonblocking

Here's the connection code from libtinysmb (smb.c) which should help.


static s32 do_netconnect(SMBHANDLE *handle)
{
u32 set = 1;
s32 ret;
s32 sock;
u64 t1,t2;

handle->sck_server = INVALID_SOCKET;
/*** Create the global net_socket ***/
sock = net ...