I've got to use postGRE instead of mySQL for a client. I have installed the NuSphere UltraSQL program (windows port of postGRE) and I get the following error:psql: could not create socket: An address incompatible with the requested protocol was used.(0x0000273F)Anyone know why? ...
Running Sybase 12.5.0 on NT kernel nl__write_defer: write failed on socket I am getting this error followed by about 10-15 lines of Cannot send, host process disconnected: 000006ac spid:Has any body got any ideasIt is not causing any user problems (so far) ...
when I'm sending an email to an intern address I receive this message:: to maildir delivery failed: create to maildir file/home//Maildir/tmp/1229421635.P25028.srv-proxy: Permission denied how to solve this problem? I created already other account and it go very wellI tried to recreate this account b ...
I installed OmniHTTPd on Windows 98 system, followed all instructions, but still when I run it I receive message:--------------------|Fatal Error |--------------------|Unable to create ||socket (some kind ||of number)! |--------------------And when I run *.php files nothing happens!Please HELP! ...
I don't know why, but it seem that i cant create a socket in another thread !i made a CWinThread class called "MultiThread" then when i send to the thread a post message, its launch this function:Code Snippetvoid MultiThread::CreateSockets(WPARAM, LPARAM){//for (int i=1;i<=99;i++)//{Soc ...
I don't know why, but it seem that i cant create a socket in another thread !i made a CWinThread class called "MultiThread" then when i send to the thread a post message, its launch this function:Code Snippetvoid MultiThread::CreateSockets(WPARAM, LPARAM){//for (int i=1;i<=99;i++)//{Soc ...
I don't know why, but it seem that i cant create a socket in another thread !i made a CWinThread class called "MultiThread" then when i send to the thread a post message, its launch this function:Code Snippetvoid MultiThread::CreateSockets(WPARAM, LPARAM){//for (int i=1;i<=99;i++)//{Soc ...
Well am trying to create a port scanner for which am trying to create a socket first and then trying to connect at that particular port but the problem is every time i try to create a socket it returns false.......please help as soon as possible......BOOL CTrial1Dlg::test (CString IP,UINT nPort){soc ...
I'm using win2k, IIS5, PHP4.Trying to use the socket_create() function to run a php script as a server.How do I activate this module in PHP? ...
i have a dialog that is client.this client is connecting to a server, and send text to there.this code works only the first time i run it.after that it can't create the socket. the error code is "WSAEADDRINUSE - (10048)". i saw in last posts, that i need to change the options of the socket ...
when I try to create a socket inside ISA (which i am developing) I get error 10106 (WSAEPROVIDERFAILEDINIT).WSAData d;int i=WSAStartup(0x0101,&d);if(i){char t[200];wsprintf(t,"WSAStartup:%d",i);M_ASSERT2(0,t);}M_ASSERT2(0,"Before creating socket");m_states+=SF_WINSOCK_IS_INIT ...
when I try to create a socket inside ISA (which i am developing) I get error 10106 (WSAEPROVIDERFAILEDINIT).WSAData d;int i=WSAStartup(0x0101,&d);if(i){char t[200];wsprintf(t,"WSAStartup:%d",i);M_ASSERT2(0,t);}M_ASSERT2(0,"Before creating socket");m_states+=SF_WINSOCK_IS_INIT ...
i install grid for two node,when i finished installation,i run root.sh,and from the output of root.sh ,i find can not create asm diskgroup,and following is info: DiskGroup MyDG creation failed with the following message:ORA-15018: diskgroup cannot be createdORA-15031: disk specification '/dev/oracle ...
I'm quite new to using sockets, so I thought I'd simply try to create one. I tried to create a socket using a simple C script like this:#include <sys/types.h>#include <sys/socket.h>int main(){int s = socket(AF_INET, SOCK_STREAM, 0);printf("%d\n", s);return 0;}However, when run, ...
I tried to create a stored procedue. When I run the statementCREATE PROCEDURE mytest(IN v_id CHAR(10),IN v_name CHAR(20))LANGUAGE SQLBEGINENDI got errors below.. I've seen some document mentioned about writtingstored proc in other languages and you have to have the compilerinstalled on the server.If ...
Hi, I am new to C++I am working with C++ .NET to create a multiplayer game for a project. However I need to connect the multiple computers together, for it to work, with one computer acting as the server and the other (max of 6 others) connecting to it as clients.I would like to know how to create a ...
I want to create an application for ad-hoc network.I have a little bit good knowledge of javaBut I cant decide from where to start. Please Help me to start ...
I have problem when using CSocket. My program can run well in Debug mode, and also in release mode using MFC in shared DLL. But When I use release mode using MFC as static library i got running error "the memory could not be read" . I have located the error. It is in function Create of cla ...
I am having a problem. I am using CASyncSocket for my server, and for some reason, am unable to bind it to a specific IP. Here is my code:if (!Create(m_Port, SOCK_STREAM, FD_ACCEPT)){}else{ListenSocket->Listen();}Now how do I make it bind to a specific IP?? I am so lost, ...
Ok, About a 5 days ago, I could connect to Myspace IM just fine. But, one day, it gave me this error:Couldn't create socketAny ideas? ...
i use jdk 1.2.1. it work properly when i use Appletviewer but it has error when i use internet explorer. this is a code.try {s = new DatagramSocket();} catch (Exception e) {}the error message iscom.ms.security.SecurityExceptionEx[rapplet1.actionPerformed]: cannot access 0at com/ms/security/permissio ...
PHP 4.3.5 doesnt recognize function socket_create(). Whats the problem?Heres the code:<?phpif (($sock = socket_create(AF_INET, SOCK_STREAM, 0)) < 0) {echo "socket_create() failed: reason: " . socket_strerror ($sock) . "\n";}?>Error message:Fatal error: Call to undefined ...
I have a php script like this and when try to execute it its giving an error like this how can it be?Fatal error: Call to undefined function: socket_create() in c:\program files\apache group\apache\htdocs\asd\istatistik.php on line 16this is my php script<tr><td width="24%" valign ...
PHP v4.3.11, compiled with "--enable-sockets"Task:create an icmp socket for pingingCode:$socket = socket_create(AF_INET, SOCK_RAW, 1);Errror:Warning: socket_create() Unable to create socket [1]: Operation not permittedI cannot figure this one out. Searching the web for this problem finds s ...
m_pSocket = new CListeningSocket(this);if( m_pSocket->Create(SOCKET_PORT) )...an error "10093" is got. Can anybody tell me what does that mean? thx ...
I am trying a CAsyncSocket class with MFC.class CClientSocket : public CAsyncSocket{// ...};CClientSocket g_skClient;void CSocketClassMFCDlg::OnBnClickedOk(){CString txtHostAddr = _T("10.162.60.253");UINT uHostPort = 80;UINT uSocketPort = 27015;int nSocketType = AF_INET;long lSocketEvent = ...
i am making a project of chat server i am using winsock2 to create socket but i want to know some explaination regarding the structure and functions usedin the code:AS THE GIVEN CODE I WANT TO KNOW WHY THE THINGS ARE REQUIRED IN THIS CODE LIKE:STRUCTURE - SOCKADDRZeromemory();ws32.libCONNECT FUNCTIO ...
manage to do until socket_accept() but found something wrong...when I used non blocking for socket_accept() it will show me that the socket resource is not available. If I set it to blocking, it just keep me waiting and waiting... can someone tell me what is wrong...it is that my socket is not able ...
I have the following problem. I create a socket on a port. I set it to listen and than I want to connect to that socket. If someone connects, all goes fine. But if the connection doesn't come, my script stays waiting untill someone connects. I don't have any wrong loops but he just waits at socket_a ...
I've setup a simple stream_socket_client and socket server scripts. If I run the server script on a different machine than the client and send data, not all the data reaches the server. If I run the server and client on the same machine there is no problem. If I play around with the size of the chun ...
hello, im trying to make a simple php socket client that will send a small string of data to a serverheres what i have$host = "server ip";$port = 4321; // nat opened port$timeout = 6000;$sk = fsockopen($host,$port,$errnum,$errstr,$timeout);if (!is_resource($sk) || $errnum) {exit("conn ...
I am seeking your help on following pthread_create issue on linux OS.The senario is I have a main program which generates new child threads on user request.The new child executes a module and closes. It is working perfectly if there are less then 245 new threads after that "pthread_create" ...
I'm new to Socket Programming, and i've only learned C recently so probably what i'm asking will be very obvious, sorry in advance (=ok Here's my code/* * File: Inside_Client.c* Author: Ghaith Hachem and Adel Youssef** Created on March 17, 2008, 6:12 AM*/#define EXIT_SUCCESS 0#define PORT 1234#defin ...
I have a server.php:<?phpset_time_limit (0);$host = '127.0.0.1';$port = 1234;$sock = socket_create(AF_INET, SOCK_STREAM, 0) or die("could not create socket");socket_bind($sock, $host, $port) or die("Could not bind to socket\n");socket_listen($sock, 3) or die("Could not se ...
I have a problem with a simple client/server socket program.the connection is done through 2 connections a udp connection and a tcp connection.the flow is that the client sends a udp packet to the server and the server returns it through a tcp connection.this is done in a loop.my code works fine on ...
hello, i'm trying to catch dns (port 53) -udp datagramms in a way like this:#include <windows.h>#include <winsock.h>#include <stdio.h>void getpacket() {SOCKADDR_IN addr_Srv, addr_Cli;SOCKET sock_Listen;char szMessage[256], buf[255];int clilen;short listenport;WORD sockVersion;WSADA ...
I'm using a do while loop to parse data via a socket connection to a remote server, brings back an ID and puts all this info into our database.This works spot on when there is only one instance in the loop. It connects, brings back for example ID 600 and stores it in the database.When there is more ...
What will a flash xml client socket connect to?I have a working php TCP/IP server socket bound to a port >1023 and the flash client will not even connect to it. I can connect to it with non-xml client.Can anyone explain this to me - it has been driving me mad for weeks!Please help!ThanksdocWorkin ...
HiI am trying to connect a Flash client socket (XML) to a php socket server (using Flash 8 and php 5).My php socket server responds correctly when I connect to it with a php client socket but fails when I try to connect with the flash xml client socket.Both codes are included below - they are both i ...
i'm using this mishmash of code:<?error_reporting (4);set_time_limit (0);ob_implicit_flush ();echo "Server Started...<br />";$address = '192.168.0.5';$port = 4800;if (($sock = socket_create (AF_INET, SOCK_STREAM, 0)) < 0) {echo "socket_create() failed: reason: " . soc ...
Was hoping for a little guidance from those who've been there and done that in regards to forking processes and controlling the resulting zombies !.I have a requirement to implement a daemon on 12+ servers that will listen on a socket for a given notification to do a particular task(move a given fil ...
guys. It's my first post. Sorry for my english...An external device send some data on a port of my PC with the UDP protocol. I'm trying to create a "port scan" which does something when the data arrive at the port. I read on the manual that the socket_listen is not avalaible for UDP. They ...
I am making a MFC ActiveX DLL that connects to a server through sockets. While the socket is being created and connected to the listening server, the next lines of code give an error causing the DLL to fail.Also I checked the contents of "this" pointer in the function and that seems to hav ...
Long time listner... First time caller.Hey Everyone,I'm trying to do the ill-received practice of polling a UDP socket in a "server" I wrote in C. The reason being when my "server" will live on a PC inside an industrial controller in a factory. When the "server" is aske ...
I can't find why my call to socket() is always returning INVALID_SOCKET. This call is made in a threadfunc, here is the function :DWORD WINAPI startscan( LPVOID lpParam ){THREAD_PARAMS* StructThreadParam = (THREAD_PARAMS*)lpParam;struct sockaddr_in targetsocket;char data[1000];int sock;targetsocket. ...
What will a flash xml client socket connect to?I have a working php TCP/IP server socket bound to a port >1023 and the flash client will not even connect to it. I can connect to it with non-xml client.Can anyone explain this to me - it has been driving me mad for weeks!Please help!ThanksdocWorkin ...
HiI am trying to connect a Flash client socket (XML) to a php socket server (using Flash 8 and php 5).My php socket server responds correctly when I connect to it with a php client socket but fails when I try to connect with the flash xml client socket.Both codes are included below - they are both i ...
I want to write a program using which i can have a chat program.I want server and client in same programI want to send message from server to client and then from client to server.I am wrinting the server and client programs of mineplz tell me what modifications I need to do to achieve thisThank you ...
pulseaudio is a powerful and strange beast.Today I restarted X... Actually I think I restarted the whole machine. Later when I tried to start pulseaudio, I couldn't.There are some crazy people out there who will tell you that pulseaudio is a drop-in replacement for esd, and that it will start every ...
I don't know why, but binding fails every time.#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <unistd.h>#include <stdio.h>int main(){int sockMain;printf("Creating socket...\t");if ((sockMain = socket(AF ...