Make A Tcp Ip Connection Using Tcpclient
Aug 15, 2009i know how to make a tcp ip connection using tcpclient and so on. But what i want to know, how to transfer file in a specific computer?
View 2 Repliesi know how to make a tcp ip connection using tcpclient and so on. But what i want to know, how to transfer file in a specific computer?
View 2 RepliesI am writing a VB.NET app that connects to a legacy application using TCP.
The communication is working fine and is very quick once connected, but there is always a delay (of around 2.5-3.5 seconds) when I create the new connection even though I am connecting to my local machine[code]...
Is there a way to time out the connection? And loop to retry until it can connect?
View 1 RepliesI have herd that a new type (or old type) of connection when the server connects to the client. Is it really possible to do such a thing with mulit-Servers trying to connect to one client.How would I make one like that O.o.
View 5 RepliesI found similar forum thread [URL], but he don't have answers. How I can conncect | send | recive data using tcp connection with specific internet service (not web).
View 1 RepliesI have a .Net program that has to run on a cluster of server 2008. To find out the right IP I resolve the dns by GetHostEntry(VarDefinedInfConfig).AddressList(0)
but when I am converting my old code (this code picks the wrong IP) dns.GetHostName().AddressList(0) => this returns a virtual IP and not the right one.So I changed my TcpListener to (dns is parameter from config)Dim listener As TcpListener = New TcpListener(New IPEndPoint(Net.Dns.GetHostEntry(dns).AddressList(0), 8001))
listener.Start()
[Code]...
Can anyone tell me how to make make a TCPClient and be a TCPServer too at a the same time
View 1 RepliesI have multiple TcpClient connections to my program. The connections exist as instances of a UserConnection class, that fires events on logon attempt and when receiving messages. My program also holds a Users object, which is a list of a User class objects, holding saved data (username, password etc) for each user that is allowed to log in.
It seems convenient to put a reference object of the respective user, in the UserConnection class (when successful login is verified). Hence, when an event is raised by the connection, the connection object will hold the user reference. As any event handler logic will need to know which user is responsible for the event.
If I don't make a user reference in the UserConnection class, then I need to loop through the users (less than 20) each time, to find the correct user. Not a big deal maybe, but i'm looking to understand how it would be done by an experienced programmer.
When data needs to be sent to a user, I need to access a UserConnection object. Hence the User class also holds a reference to the UserConnection class.
I am trying to find out if the connection of my sockets (TCPClient) is connected or not connected. I am using the following code:
[Code]...
am using vb 2005 with an access database 2003 vb.net website (aspx page) i am try to put contact details in to the database with six text boves and one button (Button1) to submit the informaton in run time (aspx page) when i run the page no problems then i click submit no error but it does not send the information to the dadtbase.i put the code when i double click on the button here is my code could you plz tell what i am doin.
HTML
Imports System.Data
Partial Class accessall_NewCustomer
[code]...
I am using the following connection string to connect to a sql server on my network but having all kind of problemhere is the connection stringosqlconn.connectionstring="server=xxx.xxx.xxx.xxx,1433;" &"Database=LOS;" & "Integrated security=SSPI"I dont know if the problem is that there is no ";" at the last parameter like the others but I get the following error that shows in the file
View 24 RepliesHow do I make the connection to a SQL database (one to many), with VB.NET?
View 1 Replieshow to make connection with my database access with visual basic 2008.
View 2 RepliesI can't find the vb.net code to make PHP connection while read the script before it would redirect to mysql database. As I have store the local host in the php script with the username and password, so I would not need the code for mysql at this present moment.
View 5 RepliesI need to make a connection with an access 2007 database in VB 2005.[code]....
View 15 Repliesregarding vb 2008 as below 1.how to make connection between mysql and visual basic 2008. 2.how to write insert the query.
View 2 RepliesI tried to make my ODBC Connection within the class. here's my class code
Public Class Library
Public Function Seek(ByVal Connection As Odbc.OdbcConnection, ByVal TableName As String, ByVal Field As String, ByVal Index As Long)
[Code]....
Here's my error: Unable to cast object of type 'System.Int32' to type 'System.Data.DataSet'. I am using VBdotNet2005
is there any way to connect sftp server and download files from specific folder.
View 2 RepliesTrying to make a serial connection from a windows app in vb.net to a com port through pc.also, can i make a separate listener windows app in vb.net that has its own virtual com port (for testing).the function of this connection is to simply pass variable states through the serial port on the pc to a microcontroller, which will interperate the code and perform actions based on the variable states.is there an easy way to implement serial port data communication in vb.net?
View 2 RepliesI use SQL server 2005 express on VS 2008 TS, I can make connection to DB from the server explorer but i cannot make connections from teh Crystal reports OLE DB connection wizard, the drop down box doesnt show my SQL server. How do i fix this?
View 2 Replieshow i can make a connection of data base with access
View 1 RepliesNow I know we can not do a system like the SQL of the...[code]He only opened the database, is there any way to open and use Access database login information for it?I am unfamiliar with this program , someone people can help me?Empty, You can be a example to me !!I just want a can connect to the network database (Access Database) VB programming
View 6 RepliesI'm trying to make a connection to SQL Server 2008 express Using this code
Dim Ordr As String = "Select * from Orders"
Dim con As SqlConnection = New SqlConnection("Data Source=localhost;Integrated Security=SSPI;" & _
"Initial Catalog=Orders")
Dim com As New SqlCommand(Orders, con)
[code]....
I get this error:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
I need to make a web browser that uses my home internet connection from anywhere.I plan to have the web browser connect to my router/computer where it will request the desired web pages and have the page data sent back to the browser client. The browser must only have a connection with my IP, and not request the web pages from their web URL.How can i do this and what will i need to set up on my home computer?
View 5 Repliesi want make a attandance software but i need coding for make connection between attandance machine and databass. so i can connect to machine and downloadd attandace logs.
View 1 RepliesWhen I load my page I populate my repeater with the following code.
Dim conn As Data.SqlClient.SqlConnection
Dim Comm As Data.SqlClient.SqlCommand
[code].....
How to make Dynamic Connection string for VB.Net 2008 & Sql Server 2005 database
View 1 RepliesHow can i make http Connection in vb.net? what is the method call used?
View 1 RepliesI am making a program with a very good HWID system, but so far it uses a standard WebClient control, I want to know how to make it more secure, like possibly encrypting the connection to a site (Uses PHP), or making sure the connection isnt being tampered with. are their any tools/pieces of code to do these checks/encryption?[code]...
View 1 RepliesI have a small code that can start multiple threads in numerous numbers and these threads will perform some calculations and file operations (read and/or write) that are private to themselves (each of the calculations and file operations are independent).But I can not figure out how to make the connection for threads to file operations.
View 2 Replies