Posts Tagged ‘Winsock’

Something keeps changing the Winsock settings on my computer. How do I locate the problem?

I can be on the net and checking my emails, and the next thing I know, Windows Internet Explorer says it cannot display the web page. I do a Network Diagnostic to check my connectivity, and my WINSOCK settings have been changed. The Network Diagnostic can reset them to default, but I have to do a restart every time. This happens a lot. Can anyone tell me how to isolate the problem and fix it. I have run a full system scan by my security system, Windows Live OneCare, and there are no problems detectable. HELP!

Visual Basic 6.0 TCP/IP Winsock control help needed.?

For my computing A2 coursework (written in Visual Basic 6.0) i created a chess game that works via the UDP property of the winsock control. (LAN rather than internet based)

However, Im resiting the year and want to do something more challening, and want to create the same via the TCP property of the winsock control.

Can someone explain the steps needed to connect two computers, via the TCP and code examples. Unless its written in Visual Basic 6.0 its just foreign to me.

Thanks :]

I have a problem with VB6 WInsock!?

look a image with the error!

http://aycu36.webshots.com/image/26035/2005045940812615101_rs.jpg

What is wrong?
Maybe the winsock file is corrupted?
Can u send me trough via email this file?
Thanks!

Visual Basic 2008 Winsock Chat?

Hey, i’ve been working on a chat system. If anyone could help by post step by step and source code instructions, that would be great. I’ve tried other methods and I always get some weird error. Anyway, I would like to know how to make a server/client. Thanks :D

PROBLEM ….WINSOCK CONNECTION ….PLZ HELp!?

Hi guys, im making a program that will accept incoming winsock requests. This form is listening & should accept any requests. The compiler simply wont compile!!! :(

[CODE]
Private Sub frmConnecting_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

win.Close()
win.LocalPort = localPort
win.Listen()
win.Accept() ‘TODO STUCK HERE <<<<<<<<<<<<<<<<
End Sub
[/CODE]

The error i keep on getting is:
Error1Argument not specified for parameter ‘requestID’ of ‘Public Sub Accept(requestID As Integer)’.

…im guessing its aking for an integer but i dont know why! ive tried 0-9 but to no avail. In VB6 it works fine!

Plz help! :(

Help!! WinSock Error 10049 !!!?

I’m having trouble with another computer I have, my laptop… running WinXP SP3, use both Internet Explorer 8 and also Firefox, for a long long time, I’ve been using the same security softwares for firewall and anti-virus, along with spam/malware blockers, etc, and never had this problem before…… I can connect to my ISP no problem, but can’t view the web in my browser(s)… not getting loop back connections from websites… so I am getting the WinSock error 10049…. I really need to get this other machine working again….ASAP. Can anyone help me!!??
Thanks bill… your answer reaffirms what I’ve been studying up on with the error found…seems to me most every other source was telling of the same thing… to clean out the registry… Will alttempt it and then let you know if the issue is resolved… I just hope that is all it is… registry cleaning… if not, will post the results… thanks again!

winsock problem?

I Need some help please.I have downloaded a virus.It has caused a problem with me going to web pages.It will work for two minutes and then seems to take me off line.Now I keep getting the message that it is a Winsock problem.I downloaded Winsockfix and I can not get it to work.I have ran virus scan,and every other scan you can think of.I does nothing.I do not have my Windows disc so that is out of the question for the problem fix.I am on a wireless network,and it is showing i am connected.Right now i am writing this on windows wordPad because I can not stay on line to type this and send it.I have looked my problem up on yahoo answers and nothing I seen will fix my proble.If there is someone out there who can help please.Now I see on the winsockxpfix it has files it wants me to delete first.I cantand how to get to the files i need to delete.

I have a winsock corruption that I cannot get figured out I think I have tried everyyhing from deleting…?

I have tried deleting winsock and the winsock fix tools that I could find….seems that I have some problem that I cannot figure out I need major help I can get into windows but not online when I try to do the fix connection thing it keeps saying that it cant renew ip address I have tried doing this with the ipconfig release and renew and that does nothing tried the installing of the tcp/ip thing with the c:\windows\inf thing that does not work either is there something that I am doing wrong or something else I can do cause if this keeps up then the only thing I can think of is to bring the computer to the rent a geeks place and they want 179 to save files and 129 not to I don’t care to save files on the pc there is nothing important on there that I need I am running windows xp proffessional mar programs I got this comnputer for free from our county thru the pc’s for people program so as you have figured I really don’t have alot of money to spend for repairing also we use the magic jack for phone and when the internet is not connected the phone does not work so I have been haveing to switch back and forth from the old pc which is so slow the magic jack will not work in it just am able to browse around slowly to try to resove my problems I am able to download stuff to one of those usb sticks and put on the other pc that is what I have been doing please help thank you!
ok when I tried the netsh winsock reset it says unable to reset winsock catalog the system cannot find the file specified then when I do the dump one a lot of stuff comes up I resset and still no connection the winsock version I think is there is 2 of them the first is file….c:\windows\system32\winsock.dll size…..2.80 kb (2864bytes) version…..3.10 the second is file….c:\windows\system32\wsock21.dll size…22.00kb (22528bytes) version…. 5.1.2600.5512 (xpsp. 080413-0852) the windows version I think is says version 5.1.2600 the sevice pack which I found in my add/remove programs not sure where to find some of this stuff but what I saw was microsoft .net framework 3.0 service pack 2…..also the same for the first but 2.0 service pack 2 and again but 3.5 SP1 and then 1.1 not sure if you get my interpritation let me know thanks

Need help with Winsock?

Here we go. I’m fixing my friend’s dell (windows xp). It had some viruses and I cleaned it up in regular operation mode, then again in safe mode and removed 4 infected files. Today when the virus scan was running I was able to access the internet, then ever since it says there is a corrupted/deleted file in the winsock catalog and it has limited or no connectivity. So, I tried running the diagnostic for internet explorer and it reset it, but that didn’t work. Tried searching the winsock fix manually in “search” and it reset it, but that didn’t work. Then I tried going into command prompt and typing in the key words and it reset it again, but still didn’t work. The wisock repair didn’t work, but it still won’t let me go online and keeps asking me to reset, then restart, but it still won’t work. Is the antivirus not doing the job and getting all those viruses out or something? What’s going on? Not sure how up to date her security is. Can’t access antivirus software online either? help!!
I typed in sfc /scan now
and like I said, it reset it, but I still keep getting the error. Any idea what could be wrong?

Winsock in VB?

Private Sub Winsock3_DataArrival(ByVal bytesTotal As Long)
Dim buff As String
Winsock3.GetData buff
If buff = “up” Then
CuadroSY = CuadroSY – 60
Winsock3.SendData Text3.Text & vbCrLf, Cuadrox, Cuadroy, CuadroSX, CuadroSY
Winsock2.SendData Text3.Text & vbCrLf, Cuadrox, Cuadroy, CuadroSX, CuadroSY……….
everything after this is ok, i just dont want to copy all..
What i want to do here is that after receiving some variables from the client, the server fix some numbers and send back to 2 clients (using winsock2 and winsock 3) but i get “compilation error” that highlight the SendData and only the Senddata. It doesnt highlight all the sentences and neither Winsock3, just the word SendData

winsock: How can I connect to myself if I have a router?

Okay here’s the deal. I’m making a simple HTTP server in C. I made a quick demo and I am able to connect to it via a browser using my home ip: 192.168.0.125.

So naturally I wanted to see if I could connect to it using my REAL ip address. I went on a get-your-ip type website and I entered that address into my browser and it wouldn’t connect. I also tried from other computers on my home network and it doesn’t work. Is it only possible to connect to my winsock program from computers outside my LAN?

Winsock HELP?

I have tryed everything.I was downloading on limewire I knew better but did it anyway.I downloaded a virus.It will not let me stay on line for longer than 2 minutes.It is a winsock problem.I have scaned my computer with about everything you can think of.I even downloaded Winsockex fix.It is not working.Please someone help me.I have been working on this now for 3 days.I do not have my windows disk.I can not just start over.Can someone tell me what files i need to look for or how i can maby find the virus.I did a surch for any new files in my computer for the day i got the virus.I am at a loss.

Need help with winsock problems. Weird problem any advice???

Here we go. I’m fixing my friend’s dell (windows xp). It had some viruses and I cleaned it up in regular operation mode, then again in safe mode and removed 4 infected files. Today when the virus scan was running I was able to access the internet, then ever since it says there is a corrupted/deleted file in the winsock catalog and it has limited or no connectivity. So, I tried running the diagnostic for internet explorer and it reset it, but that didn’t work. Tried searching the winsock fix manually in “search” and it reset it, but that didn’t work. Then I tried going into command prompt and typing in the key words and it reset it again, but still didn’t work. The wisock repair didn’t work, but it still won’t let me go online and keeps asking me to reset, then restart, but it still won’t work. Is the antivirus not doing the job and getting all those viruses out or something? What’s going on? Not sure how up to date her security is. Can’t access antivirus software online either? help!!
36 minutes ago – 3 days left to answer.
Additional Details

20 minutes ago
I typed in sfc /scan now
and like I said, it reset it, but I still keep getting the error. Any idea what could be wrong
As stated before, I tried that. Thanks for the advice though.

C# ,Console and Winsock?

How can i use winsock in a console application in C#(Sharp) ?
I’m trying to learn C# by creating a irc bot.

Thanks!

This is a bit advanced…Tcp/Ip – Winsock problem?

Pc with a ADSL connection through ADSL Modem. It connects to the internet, it gets an ip and all (checked with ipconfig). From command i can ping my gateway to the internet as well as the DNS i am provided with. When i try to ping google or anything else, it reports it couldnt find the host. Same with web browser also (either Firefox or Explorer).
If i do a repair in the TCP/IP stack and Winsock and reboot everything works fine for a while. I can ping anything from command, i can access with browser anything. After a while connection gets lost again.
When i lose connection an entry is logged in widows event viewer with the following details:
Event id: 4307 (Initialization failed because the transport refused to open initial Addresses)
Source: NetBt
I have scanned with up to date Panda Antivirus and Spybot S&D, also did all microsoft updates (System Win Xp Pro)

Any ideas? Format not an option….

WinSock help in Visual Basic 6 (how do i send an integer)?

Okay, so i have a control array i call it box(index) now. If i click on the fifth box, then index=5 right? what i want to do is send that index number i.e. i want to send the number 5 via winsock. So far I’ve got:
Winsock1.SendData index
but whenever i run the program, an error message comes that says it was a wrong command, and when i ask it to debug, it highlights that area. so, my question is. How do i send that integer variable via winsock? Your help is very much appreciated
yeah sorry, it said wrong data type…umm, i think i already declared index to be an integer and i still get that…maybe i declared it wrong, should i do it again? and if yes, where? cause im still learning Visual Basic, so i’m quite new to it
yeah it works now, thanks for the help :) just one more thing…u know how you wrote:
n, vbindex, 4
what does the letter ‘vb’ do and what does 4 do?is 4 just the size?
no problem man, thanks so much for your help, it works all fine now :) :) i really appreciate it!!

Winsock WAN / LAN boundary.?

I am developing a Winsock 2 API, and was wondering how a client program can connect to a server across the internet on a LAN.

I know how to find the IP addresses and all that stuff, but how do I connect the client to the server through the router? Can this be specified when creating the socket connection, or does the router have to be configured to forward the messages? If so, how do I configure the router?

Thanks.

VB6′s WinSock problem?

I want to declare a new winsock inside a module.
SO i can use the same socket from all of my Forms.
But “Object Variable or With Variable not set” …
Or is there any other way to make a “Global” WinSock?

Thanks!

can anyone help me reset a winsock on my hp with winddows xp?

when i try to renew my ipconfig i get the following error: an error has occurred while renewing interface Local Area Connection 2 : An operation was attempted on something that is not a socket. what the heck does theat mean? oh yeah, I have service pack one.

FLEXlm error: -15,570. System Error: 10035 “WinSock: Operation would?

I have the Flex LM running on my server. It was running fine for a time but suddenly it started to just stop and tell the user that t
there license and end their session. and am receiving FLEXlm error: -15,570. System Error: 10035 “WinSock: Operation would
block”..does the antivirus or something can be responsible of this error.? thanks in advance

Categories
  • Most Popular Posts

  • Powered by Yahoo! Answers