Problem with CSocket() programming

I am new to socket programming. I have a client program (say Program1)on a computer, and another program(Program2) on the other computer.Program1 has to send data in realtime to Program to. They actually play in milliseconds.Precisely this is what I want to do.-Create Client socket on Program1-Estab ...

error ('WindowsFormsApplication1.Form1.Dispose(bool)': no suitable method found...

i am using the Microsoft Visual studio and i have done the first part of C# Server Socket Program,But debugging of Client Socket Program has given this error ('WindowsFormsApplication1.Form1.Dispose(bool)': no suitable method found to override").Kindly help me out.The Client socket Program is,u ...

Change window title in multithreaded code

This is my code for a chat client. I create a simple UI with a text box for viewing the chat and an entry widget to write messages. There's a button called 'Connect', when i click this i start a new thread which does the connection and keeps receiving messages n writing them to the text box. The 'ru ...

TCPClient.close -> reseting the client?

I'm writing a small client/server application.I've got it almost completely working, other than the fact that once the user disconeccts from the server using TcpClient.close he can not reconnect without restarting the app because clientSocket is disposed.Declaration:Dim clientSocket As New System.Ne ...

Makeing program to watch for server crash?

i have been trying to make a program that should restart my server if it crashes. Just some few problems... it won't work.Imports System.Net.SocketsImports System.TextModule Module1Sub Main()Console.Title = "Shifty Server Keeper"Dim clientSocket As New System.Net.Sockets.TcpClient()While c ...

Looping Connection

I would like to know how to loop a connection or close an existing connection. heres the code i have to connect Imports System.Net.SocketsPublic Class Form1Dim clientSocket As New System.Net.Sockets.TcpClient()Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Hand ...

resetting connection

guys......can you please give me the full working code of the program, because i also encountered the same problem.....but i don't know where to put clientsocket.close() and the other corresponding code. i new to vb.netAIM:1. when the user click on a disconnect button, the communication stop and use ...

Need Help in multithread socket programming!!!

when i run the programs of server and client, they both run and also show the acknowledgement on cmd.exe like >>Server Started!>>Client No:1 started!>>From client-1Message from Client>>Server to client<1>1and so on for client 2, 3 ...but i want communication like i type ...

Please guide me in multithread C# socket programming!!!

when i run the programs of server and client, they both run and also show the acknowledgement like >>Server Started!>>Client No:1 started!>>From client-1Message from Client>>Server to client<1>1and so on for client 2, 3 ...but i want communication like if i type some te ...

Error in Client Socket Program, plz help!!!

I am using the Microsoft Visual studio and i have done the first part of C# Server Socket Program,But debugging of Client Socket Program has given this error ('WindowsFormsApplication1.Form1.Dispose(bool)': no suitable method found to override").Kindly help me out.The Client socket Program is,u ...

winsock2 help?

Having big troubles with this.I send a request and go to receive from the socket and it just hangs. No clue what this means. Can't find any good resources on winsock2 so I'm not sure if this is right.... I have another (working) version that binds and selects but my understanding is that this isn't ...

Simple CSocket Program Hangs

I have what I think is some very simple CSocket code for a client and a server,but I'm having difficulty getting it working. Any advice would be greatly appreciated.Here's the situation:I have a client program and a server program. I start them both up, assuringthat the server starts up first and is ...

Help with TCP

Ok, I am developing an Application that uses TCP To listen for connections, and then when a message is sent to the server and then it alerts the IP that is running the server.(Lets say the server is on a iPhone, and some how the iPhone gets a text message, which alerts a tcp server running in the ba ...

C# socket - problem with end of receiving detection

Hello, i have some problem with detecting when end of recieve occurs. I want to communicate with Asterisk server, but that isn not the issue here. I have the following code:// Connect to the asterisk server.Socket clientSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType. ...

Error in Client Socket Program, plz help!!!

i am using the Microsoft Visual studio and i have done the first part of C# Server Socket Program,But debugging of Client Socket Program has given this error ('WindowsFormsApplication1.Form1.Dispose(bool)': no suitable method found to override").Kindly help us out.The Client socket Program is,u ...

Socket Question

Im just trying to write a simple socket class and application where one application has a socket that can allow up to 5 other sockets/clients to connect to it and send it a few bytes of data at various intervals.So currently i have 2 socket classes, a onewaysocket and a twowaysocket. The one way soc ...

Windows service + sockets?

I am trying to write a windows service (i.e. NOT a web service) that sits and waits for TCP connections.This is what I have for an idea for the service:static void Main(){System.ServiceProcess.ServiceBase[] ServicesToRun;ServicesToRun = new System.ServiceProcess.ServiceBase[] { new PerfToolService() ...

Ubuntu Having trouble with VB

Me and another are in class and have to program a simple server/client program. I got the code, and have tried to run in using Mono-development. The code runs great, but the connection not so much.SERVER: Imports System.Net.SocketsImports System.TextModule Module1Sub Main()Dim serverSocket As New Tc ...

Advice for a beginner in LAN TCP connection

I'm working on a game version of Game of the Generals (board game). Basically, it plays like checkers, but I wanted to add multiplayer functionality, with an additional chat function. A player starts a server, another player on another PC (in the same network) starts a client, client connects to ser ...

How connect Jquery to Mysql

HiHow connect JQuery to Mysql?<br clear="all">RegardsMário Alberto Chaves Moura ...

How connect Jquery to Mysql

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD><BODY><DIV dir=ltr align=left><SPAN class=42 ...

jQuery Draggable and connectToSortable to connect to multiple Sortable Items

All,I'm new to this forum and have been using JQuery for a little while. Definitely love the library and UI components. I'm experiencing a problem with using draggable to connect to multiplesortable items. In the below code, "div.Sortable" represents multiplesortable containers wit ...

jQuery connect functions

everybody. This is my first post to this list though already ihave been working with jquery for several months.My question is: is there a way to connect the call of a function toanother?? I mean, i want to intercept the call of a function andexecute another function before (or after).In dojo there i ...

jQuery AJAX returning Facebook Connect Markup

It seems that when I do an ajax call (or post) to pull in my comments sectionmy Facebook Connect code doesn't work absolutely correct. I'm not sure ifthis has to do with the fact that scripting doesn't work when you do this ornot. Anyone have any ideas?-- View this message in context: ht ...

connect a MySQL database to jQuery Autocomplete plugin by bassistance.de

there,Can anyone please advise me on how to connect a mysql database withthe jQuery Autocomplete plugin by bassistance.de ?I do not wish tohave a js/php file with pre-defined tags. ...

jQuery Equivalent of YUI.util.Connect.setForm

Hi,We are moving away from YUI and translating our js code to jQuery (soI'm new to jQuery). For a form file upload, we used to have the setForm() in YUI.util.Connect for id'ing the form and also initializingasyncRequest() .. more info on setForm() method here:http://developer.yahoo.com/yui/d ...

jQuery r2427 - added aria-owns attr to connect input to menu, but not sure if this is to spec

Author: scottjehlDate: Wed Apr 1 13:34:27 2009New Revision: 2427Modified:branches/dev/autocomplete/tests/static/autocomplete/default.htmlLog:added aria-owns attr to connect input to menu, but not sure if this is to specModified: branches/dev/autocomplete/tests/static/autocomplete/default.html======= ...

Facebook Connect & jQuery

Hi,I've been trying to implement Facebook Connect on my site, which usesjQuery pretty extensively. However, the minute I insert the FB connectcode into my page, I get this error:Element.observe is not a functionnew()new (line 32)Element.observe(window,'load', function() {\nwhich is:32 El ...

jQuery css issues with connect-lists

Have grabbed the code to play with this function, so I can submit a list of what users do, from a list of options of what they could do .... here is the demo...http://jqueryui.com/demos/sortable/#connect-liststhe trouble is this is only a part of a far longer form.. actually based on this template.. ...

jQuery UI that can connect two dialog boxes by a kind of a wire like in Yahoo Pipes

I am a new student who is interested in jQuerry.In yahoo pipes it has the ability to connect their data feeds items(like dialog boxes) in a manner of  pipes.So is it possible to do that in jQuerry .I mean to make a graphical connection between such two dialog items.Or is there an existing plug ...

jQuery sortable list (connect list) with multi selection

I'd like to use this sample http://jqueryui.com/demos/sortable/#connect-liststo have two sortable lists like this : $(function() {$("#sortable1, #sortable2").sortable({connectWith: '.connectedSortable'}).disableSelection();});</script>But I'd like to select or to drag and drop more than one it ...

jQuery Connect a draggable to more than one sortable? (setting more than one drop target?)

Is it possible to connect a draggable to multiple sortables targets? For example, I'd like to let the user drag and drop items from list A into either list B *or* list C.I don't know if this is possible, I'm using the following but I think all I'm doing is overwriting the target:     ...

jQuery How to connect my shopping cart to Mysql through PHP

I am currently using jquery iu and it is working like a charm.One of the things that I come across is using the demo "shopping cart" to connect to my "database".For example, when I drag an item, the php script should perform select from Mysql. When I drop it into my shopping cart, the php script sho ...

JQuery Plugin for "Sign in with Twitter" and / or "Facebook Connect"

It would be great if there's a JQuery Plugin for Sign in With Twitter and Facebook Connect. Like a widget that you could add on your website to access Twitter or Facebook API's and OAuth features with PHP as the server side scripting language.   Example Plugin: ...

trying to connect to an AS/400 system

I'm receving the following error message while trying to connect to an AS/400 DB2 server:SQL30061N The database alias or database name "QS36F " was not found at the remote node. SQLSTATE=08004While the database name is correct.Does somebody knows what the problem can be? ...

connect authority

We have DB2 on AIX . I have created a fresh user say X and creating a new database say Y. I want to give the permission to X to connect to Y and also make it a dba user. IN this schema I will be creating tables.Also a user Z to whom only permission for connect and select from tables under dba schema ...

DB2 Connect EE and Web Application Deployment Strategy

We will be deploying a new web application using a thin-client 3-tier architecture with a DB2 V6 OS/390 backend.We would like to have comments on the preferred approach (performance, tuning capabilities, licensing issues) on the following 2 scenarios:1- DB2 Connect EE installed on the web server.2- ...

Connect to DB2 without creating Data Source

I am using Win 2k and using VC++ 6.0 (DB2 CLI library) to connect to database. I am currently connecting to server through DSN and it is working fine, but I don't want to make DSN to connect. Instead, I want to use connection string to connect to the database, since in this way it is more convenient ...

Run stacked SQL scripts using command center in DB2 Connect V.7

I cannot run stacked (multiple) SQL scripts using command center in DB2 Connect V.7 (personal edition). I am able to run stacked scripts in V.6. It runs and outputs the first script but then stops. Any suggestions? ...

DB2 Stored proc w/ parms errors (from VB, ADO, DB2 Connect)

I am using DB2 v. 7 and DB2 Connect (fp5) from Visual Basic (through ADO). The issue is that I only able to call stored procedures from Visual Basic when it has no parameters.I have created two very simple stored procedures that do exactly the same thing. One has 0 parameters and the other takes 1 p ...

Connect to DB2 on UNIX from Mainframe

HiCan anyone guide me on how to connect to UNIX databases from OS/390 ?I have DB2UDB v6.1 on Mainframe and v7.2 on Slaris. ...

Howto allow regular user to connect to Internet?

Right now all my users need to be root to issue the commanddhcpcd -d eth0to connect to the internet. I would like all my users to have this power. What do I need to do to allow regular users to issue the command? ...

Connect to SYBASE database

I have problem connecting to SYBASE database in PHP (connect directly, not thru ODBC).For the time being, I use ODBC to connect to SYBASE using a profile in ODBC setup.In the php.ini, I see a line in the SYBASE section(;sybase.interface_file= ...) which is commented out.My question: Any information ...

Urgent: Application crashed during connect

While connecting to UDB 7.1 on AIX, my application crashedwith the following trace:#0 0xd38671c0 in sqlowque ()#1 0xd385884c in sqloTQMRequestMLN ()#2 0xd38a8e44 in sqlccipcconnr ()#3 0xd38b0300 in sqlogmshr3[2] [fdpr] ()#4 0xd38c3efc in sqle_db2ra_ar_connatt ()#5 0xd383dd30 in sqle_db2ra_ar_driver_ ...

Slow connect to DB2 on SunOS 5.7

We are having a problem with slow connections to DB2 running on Sun/Solaris. Connect times can vary from 2 seconds to 60+ seconds. We have ruled out network issues by running test scripts on the server itself. If we run our test in a loop with no delays, we usually get a decent average connect time, ...

Can't connect to office Intranet

This is with my shop laptop, Win2k, latest serv pack and upgrades. I bring it home and connect through my LAN, router, cable. My other computers at home connect to the hospital Intranet ok, and this laptop used to. Now when I put in the intranet site, it just times out....displays the IE page to che ...

VBA (97) and Connect DB2

I have prepared a VBA(2000) programm with ACCESS(2000) DB linked to some DB2 tables. Now i should change the connection direct to the DB2 without ACCESS DB. I can onlyuse VBA(97)/WIN 98. Could sommeone help me and send me a few lines how can I connect to the DB2 directly? ...

network detected but doesn't connect

After the network is detected I have tried disabling my ethernet and booting up my wireless, but it doesnt connect. Whats next?# sudo ifconfig eth0 down# sudo dhclient -r wlan0There is already a pid file /var/run/dhclient.pid with pid 3472killed old client process, removed PID fileInternet Systems C ...

db2 connect and RedHat 8.0

Hello! I'm having troubles getting DB2 connect personal edition for Linux to work with RedHat 8.0.The problem is, although the db2 client seems to connect fine to the IBM server when I try to run any database commands (ie: select *) I get this error:SQL0969N There is no message text corresponding to ...

Can't connect to MySQL server

im trying to do a SIMPLE app with C# that connect to mysql but it seems i cant connect from any other computer to my debian mysql-serverit tells me : can't connect.Host 'Toronto-HSE-ppp3887529.sympatico.ca' is not allowed to connect to this MySQL serverthe user exist with grant privilege, i have com ...