Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
sock
- Page 1
Re: Java Coin Flip Program
Programming
Software Development
1 Month Ago
by Salem
> It looks like it's really helped a few people already. Yeah, 4 new members with consecutive user ID's, smelling like
sock
-puppet accounts.
Re: Java Coin Flip Program
Programming
Software Development
1 Month Ago
by Dani
…, 4 new members with consecutive user ID's, smelling like
sock
-puppet accounts. I realized that after I posted. I’m…
mysql.sock
Programming
Databases
15 Years Ago
by Prakash_8111
Hi Guys , Have you any idea what does mysql.
sock
used for and where we can find in windows system. rgds
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Programming
Web Development
13 Years Ago
by cdoggg94
…'t connect to local MySQL server through socket '/tmp/mysql.
sock
' (2)" anyone have any ideas?
Re: mysql.sock
Programming
Databases
15 Years Ago
by colweb
Look here [URL="http://dev.mysql.com/doc/refman/5.1/en/can-not-connect-to-server.html"]http://dev.mysql.com/doc/refman/5.1/en/can-not-connect-to-server.html[/URL] for some explanation.
Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Programming
Web Development
13 Years Ago
by cdoggg94
I have changed the <img src=get.php?[COLOR="Red"]number[/COLOR]=$lastid> to id like it should be and it still doesnt work
Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Programming
Web Development
13 Years Ago
by cwarn23
It means you need to contact your web host and tell them that mysql needs the my.cnf file repairing unless you own a dedicated server, vps, xampp or wamp in which case it will be more difficult. Usually this error indicates that mysql hasn't had a correct installation and in fact I just fixed this devil of an error recently and turned out to be a …
Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Programming
Web Development
13 Years Ago
by cdoggg94
Thanks a lot! I am going to call my hosting company right away and see what they have to say about it.
Re: Server Socket Setup Issue
Programming
Software Development
13 Years Ago
by pedbsktbll
"
sock
= servSock.accept();" ... That's a blocking call. Your coding is awaiting someone to connect on port 9999. Telnet to that port and your code will continue. (telnet 127.0.0.1 9999)
Re: Change-a-Letter-or-Two-Game
Community Center
Geeks' Lounge
18 Years Ago
by joshSCH
sock
Re: Change-a-Letter-or-Two-Game
Community Center
Geeks' Lounge
18 Years Ago
by vinod_javas
sock
Re: You know you are old when...
Community Center
Geeks' Lounge
15 Years Ago
by almostbob
sock
it to me
Re: Scrabble
Community Center
Geeks' Lounge
10 Years Ago
by Hiroshe
sock
PHP sockets from remote host
Programming
Web Development
15 Years Ago
by Kalphiter
…;); echo("Beep sent\n"); } usleep(10000); socket_set_block($
sock
); $read[0] = $
sock
; for($i = 0; $i < $max; $i++)…gt;uid = $i; } if($client[$i]->
sock
== null) { if(($client[$i]->
sock
= socket_accept($
sock
)) < 0) { consoleEcho("socket_accept() failed:…
Winsock Multi-Client Servers
Programming
Software Development
21 Years Ago
by FireNet
…SIGQUIT 3 //SOCKETS SOCKET
sock
,client; void s_handle(int s) { if(
sock
) closesocket(
sock
); if(client) closesocket(client…lt;<endl; unsigned long b=1; ioctlsocket(
sock
,FIONBIO,&b); /****************SERVER.cpp****************/ [/CODE] …number of places you call recv(
sock
... or send(
sock
... to one place and use …
Program does not read through correctly
Programming
Software Development
18 Years Ago
by fatboysudsy
… authentication(box,id,
sock
); //char Q; // recv_data(
sock
,sending_data); // if (sending_data[0]==Q) // { // query_dealing(sending_data,
sock
); // } // else // { // viewing_data (sending_data,
sock
); // } close_socket(
sock
); } int authentication(char…
Winsock file transfer->Epic slowness
Programming
Software Development
14 Years Ago
by VBNick
… return FALSE; } return TRUE; } void CloseSocket(SOCKET
sock
) { if(
sock
) closesocket(
sock
); WSACleanup(); bActiveSocket = FALSE; bConnected = FALSE; AS_AppState …amp; ofstrSaveFile->good()) { trHeader_out.action = AS_ACCEPT; send(
sock
, (char*)&trHeader_out, CHUNK_SIZE, 0); AS_AppState = AS_FILEIN;…
Problem in simple client server communication
Programming
Software Development
11 Years Ago
by getmeusername
… = INADDR_ANY; bzero(&(server_addr.sin_zero),8); //bind socket if (bind(
sock
, (struct sockaddr *)&server_addr, sizeof(struct sockaddr)) == -1) { perror("…
Client/Server Issues
Programming
Software Development
14 Years Ago
by sciprog1
… { ServerSocket s = new ServerSocket (2000); Socket
sock
; BufferedReader datain; BufferedWriter dataout; String Message = …" ..."); dataout = new BufferedWriter (new OutputStreamWriter (
sock
.getOutputStream ())); dataout.write (Message, 0, Message.length ()); …
different types of communication causes multithreaded server/client to hang
Programming
Software Development
14 Years Ago
by initialise
…close(); input.close(); bos.close(); bis.close(); this.
sock
.close(); } catch (Exception e) { System.out.…out.close(); input.close(); bos.close(); bis.close();
sock
.close(); } catch (Exception e) { System.out.println…
Server - Client little problem, please HeLp
Programming
Software Development
14 Years Ago
by pissman
…CreateThread(NULL, 0,receive_cmds,(LPVOID)client, 0, &thread); } closesocket(
sock
); WSACleanup(); return 0; } [/CODE] ::--Client--:: [CODE]#include <… SIGKILL 9 #define SIGQUIT 3 SOCKET
sock
,client; void s_handle(int s) { if(
sock
) closesocket(
sock
); if(client) closesocket(client); WSACleanup…
Returning lines from text file to client
Programming
Software Development
13 Years Ago
by noorf
…result[256]; struct sockaddr_in server_addr,client_addr; int sin_size; if ((
sock
= socket(AF_INET, SOCK_STREAM, 0)) == -1) {…); send(connected, result,strlen(result), 0); } } } close(
sock
); return 0; } int findName(char* clientSearch, char* serverResult) …
Re: NameError and some question about the code >.<
Programming
Software Development
16 Years Ago
by BearofNH
… with bt_socket = bt_connect() # When bt_connect() returns "
sock
", that value gets assigned to "bt_socket" …call bt_send_data1(bt_socket) then inside routine bt_send_data(
sock
) the variable [B]
sock
[/B], which is strictly local to … to be executed because the [ICODE]return
sock
[/ICODE] statement is going to complete the execution…
C++ to C# Dashboard
Programming
Software Development
15 Years Ago
by WargRider
…once class DashboardConnecter { private: WSADATA data; SOCKET
sock
, tmp_sock; SOCKADDR_IN connInfo, remote_info; int cLen; char… htons(connPort); connInfo.sin_addr.S_un.S_addr = inet_addr(connIP); if(bind(
sock
, (SOCKADDR*) &connInfo, sizeof(SOCKADDR_IN)) == SOCKET_ERROR) { return…
File Exchange
Programming
Software Development
11 Years Ago
by kwabyna.lilwayne
… IPAddress.Parse(TextBox1.Text) port = TextBox2.Text Try
sock
.Connect(ip, port) ToolStripStatusLabel1.Text = "Connected&…Object, ByVal e As System.EventArgs) If
sock
.Connected Then
sock
.Close() ToolStripStatusLabel1.Text = "Disconnected"…
incomplete file transfer via sockets in python
Programming
Software Development
7 Years Ago
by Bhuwan_1
…split(' end')[0] if os.path.exists(filename):
sock
.send('YES')
sock
.send(str(os.path.getsize(filename)) + ' end…= len(downbytes) while downlen < filesize: downbytes =
sock
.recv(4096) if not downbytes: break foo.write(downbytes)…
Clock Synchronization to run once and terminate
Programming
Software Development
16 Years Ago
by marconi0708
…printf(buffer + 100); OutputDebugString(buffer + 100); } timer_gap = sleep_time; } closesocket(
sock
); break; } return(DefWindowProc(hwnd, message, w_param, l_param)); } void clock_sync_thread…
Re: NameError and some question about the code >.<
Programming
Software Development
16 Years Ago
by snowfish
…handles the bluetooth connection: def bt_connect(): global
sock
# create a bluetooth socket
sock
=socket.socket(socket.AF_BT,socket.SOCK_STREAM) target=''#…") # receive() def quit(): print"socket closed"
sock
.close() app_lock.signal() app_lock=e32.Ao_lock() bt_connect() bt_send_data1() bt_send_data2()…
Winsock - connect() error
Programming
Software Development
14 Years Ago
by VBNick
…("Couldn't create socket."); return 0; } if(WSAAsyncSelect(
sock
, hWindow, SOCKET_MESSAGE, FD_ACCEPT | FD_CONNECT | FD_READ | FD_CLOSE) == SOCKET_ERROR) …"); return false; } return true; } void CloseSocket(SOCKET
sock
) { if(
sock
) closesocket(
sock
); } BYTE *GetScreenBits() { RECT wRect; HWND hDesktop = GetDesktopWindow…
Sockets and relaying messages
Programming
Software Development
13 Years Ago
by sirlink99
…System.out.println("Client Connected: " +
sock
); PrintStream ps = new PrintStream (
sock
.getOutputStream ()); ps.println ("Server: Hello"); …block e.printStackTrace(); } try { PrintStream ps = new PrintStream(
sock
.getOutputStream()); ps.println ("Client: Hi Server"); DataInputStream…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC