由买买提看人间百态

topics

全部话题 - 话题: winsock
1 (共1页)
t***i
发帖数: 40
1
来自主题: Programming版 - winsock error 10053
Hi;
I tried to created a simple http client program to see why it gave me error
10053. 10053 is a winsock error with the description "Software caused
connection abort." Basically I created a socket and connected to www.google.
com and every couple of seconds sent the same request. It worked several
minutes then came up error 10053. The following is the code. Any suggestions
are greatly appreciated!
WSADATA wsaData;
int wsaret=WSAStartup(0x101,&wsaData);
if(wsaret)
exit(1);
SOCKET sock;
so
d*****r
发帖数: 39446
2
【此篇文章是由自动发信系统所张贴】
winsock 已经成为本俱乐部的正式成员, 特此通知.
c******u
发帖数: 739
3
来自主题: Hardware版 - 尼玛 8.1 -> 10 = No Network -> 8.1
我同样的问题, reset winsock 可以解决问题。还不行再reset ip4.
网上有命令行指令。好像是
netsh winsock reset
s*******m
发帖数: 58
4
Both Windows and Linux support zero-copy in kernel networking stack.
In Windows, it is implemented through a data structure called NetBufferList,
the data in the form of NetBufferList passes different layers of networking
stack, each layer makes some modification but the original payload is not
copied (so this is called zero-copy). Finally networking device driver copy
the payload inside NetBufferList to onboard buffer of network adapter and
then network adapter send the data.
Linux has mechanis... 阅读全帖
h**********c
发帖数: 4120
5
来自主题: Programming版 - 嵌入式Web有什么注意事项?
我老当年在游戏公司写客户端,随便就在msdn 抓个winsock 的例题,又上微软的xml库
名叫啥忘了,觉得直接和java通讯太简单
又在前端加openssl,后端把sun cipher调上
前端后端all winsock,也就是两对producer consumer,加点多线程而已
可能也就是花了老板一个半月的budget
u***f
发帖数: 2
6
【 以下文字转载自 Windows 讨论区,原文如下 】
发信人: usilf (usilf), 信区: Windows
标 题: 请问:winxp与xwindow兼容问题
发信站: The unknown SPACE (Fri May 17 01:38:37 2002) WWW-POST
请问:
自打我装上WINXP,就用不了unixlink97 xwindow。
每次运行XWINDOW,就显示信息:
“The X Server is not configured to use WINSOCK.You must enable the WINSOCK
network type in the Control Panel. Note that neither the Control Panel nor the
client icons can be used to launch a Serial Connecxion client"
请问该怎么解决这个问题压?
谢谢^^
s**a
发帖数: 8648
7
来自主题: Windows版 - Vista能用skype,但是不能上网
也能看ppstream,但是用所有的browser,都不能上网,显示server cannot be found
。也不是完全不能上,有时候可以,但是过几分钟就断了。把router断电,又可以上,
但是之后又会断。
我在网上查了,可能是winsock corrupted,使用了netsh winsock reset,也没有解决
问题。
是不是只能重装?谢谢。
m**o
发帖数: 5261
8
这两天才发生的事,操作系统是VISTA。
不知道什么原因。
试过了IPCONFIG/FLUSHDNS
试过了RESET IP, WINSOCK。
用过不同的BROWSER。
FIREWALL,ADWARE 都没开。
求助,30伪币答谢。

发帖数: 1
9
来自主题: Military版 - 各位蜀黍,有个CS的技术难题
那就可以改winsock.dll啊,就是最简单的hack技术。
加个钩子就可以(hook),可能比查找替换都不更难。
B*Q
发帖数: 25729
10
来自主题: Military版 - 各位蜀黍,有个CS的技术难题
你咋知道是温斗四
[在 bmp (bmp) 的大作中提到:]
:那就可以改winsock.dll啊,就是最简单的hack技术。
:加个钩子就可以(hook),可能比查找替换都不更难。
t*******8
发帖数: 13
11
A financial technology firm is currently seeking smart people to join
their high performance, low latency electronic trading platform
development team. The company’s headquarter locates in New York’s
financial district, right next to the NYSE building. Please send your
resume to m**[email protected] if you are interested.
Opening one:
Job Title: Mid Level C/C++ Developer
Essential Experience:
• 2 or 3 years of experience in commercial software development in
C or C++
• A good working... 阅读全帖
l****z
发帖数: 29846
12
【讨论】最近是不是流氓软件这阵风又开始抬头了

ererer 当前离线
太过分了,机子不知不觉被按了两个流氓软件,小兵日历和悠扬棋牌。
尤其是小兵日历,根本不让你卸载,添加了服务和计划任务,有可能还会继续下载其它
的流氓软件。
必须把服务禁止掉,把计划任务删掉,直接把安装目录给删除了。
在baidu download发现了小兵日历的安装文件,严重怀疑是百度影音干的,也一并卸载
了。
最近是不是流氓软件这阵风又开始抬头了?

#2 旧 2015-06-23, 07:18:16 默认

宫崎骏 当前离线
流氓一直都在


#3 旧 2015-06-23, 08:30:07 默认

hnlyzhd 当前离线
前几天同事要在联想手机上复制几个文件过去,但是将手机通过数据线连电脑看不到盘
符,于是尝试着安装91助手,他电脑上无法google,于是百度到一个zol的下载链接,
然后就中招了,下载下来的是一个下载器(downloader),在给我下载下来91助手安装
程序的同时,大概在不到1分钟的时间内给我装了十来个垃圾软件。
国产软件彻底不能信任了... 阅读全帖
d********g
发帖数: 10550
13
来自主题: PhotoGear版 - 国内软件也太流氓了
一点都不麻烦,一个命令搞定
netsh winsock reset
m**o
发帖数: 5261
14
这两天才发生的事,操作系统是VISTA。
不知道什么原因。
试过了IPCONFIG/FLUSHDNS
试过了RESET IP, WINSOCK。
用过不同的BROWSER。
FIREWALL,ADWARE 都没开。
谢谢
v*********u
发帖数: 58
15
我用visual 2008 C++ 编个小应用程序,我想实时地得到(比如每20秒刷新一次)当前
系统中有哪些正在运行的socket, 这些socket对应的系统process name是什么?
请问大牛:我怎样才能实现这个功能呢?winsock有提供对应的API吗?请大牛不吝赐教
,万分感谢!
m**o
发帖数: 5261
16
这两天才发生的事,操作系统是VISTA。
不知道什么原因。
试过了IPCONFIG/FLUSHDNS
试过了RESET IP, WINSOCK。
用过不同的BROWSER。
FIREWALL,ADWARE 都没开。谢谢。
z*****n
发帖数: 7639
17
头四个包:
1) 199 -> 1 SYN
2) 1 -> 199 SYN,ACK % 说明server响应链接请求
3) 199 -> 1 ACK % 到此TCP connection handshake正常
% 这个有问题:
4) 199 -> 1 FIN % client 不应该发FIN
% 下面client 又发了个SYN
5) 199 -> 1 SYN
server这次还是正常回复SYN+ACK
然后client发ACK
然后client发了6个字节的data包,用了PSH
然后client发FIN
。。。。
看来是Client的原因。用的是Linux的标准socket
还是winsock还是自己写的TCP控制?
s****n
发帖数: 80
18
来自主题: Database版 - ora-12560: TNS: Protocol adaptor error
don't re-install the whole thing. just remove current database and create
another. i got this error long ago, probably becuase of the conflict with
tcp/ip winsock.
g**********g
发帖数: 64
19
来自主题: Hardware版 - 无线局域网的奇怪现象
老t42,wireless LAN很奇怪,启动后无法得到ip地址(自己得一个169.254.的无用地址
)。ip address, dns都设置的自动获取。
试过如下动作:
disable/re-enable也不行
netsh重设过tcp/ip
netdiag测过winsock
用的就是windows zero config,服务自动开启,也试过restart
从联想下了最新的intel 2200bg驱动
家里的router是asus(tomato),也试过netgear(stock fw).家中其它计算机,游戏机,
有线,无线上网都没问题。
mac address也加入许可列表了。
有线网从无问题。
最奇怪的是:如果接上线(wired lan)之后,wireless LAN也能获得ip address,然后
把线拔了,无线网也能接着用,standby再启动也没问题,但是如果重启机器,或者
disable无线之后再enable,就歇菜了。
大家帮忙看看,问题出在哪里?
m**o
发帖数: 5261
20
这两天才发生的事,操作系统是VISTA。
不知道什么原因。
试过了IPCONFIG/FLUSHDNS
试过了RESET IP, WINSOCK。
用过不同的BROWSER。
FIREWALL,ADWARE 都没开。
求助,谢谢。
z*********e
发帖数: 10149
21
来自主题: Hardware版 - 我这是啥问题?上网不能
果然是这个问题,winsocks 被改了,下了一个qq电脑管家,搞定
a*f
发帖数: 1790
22
来自主题: Hardware版 - VPN的设置问题
问题查出来了,但不知道怎么解决
应该是GRE Protocal测试没能通过Verizon Fios的Router
测试过程如下:
1)在内网的VPN服务器上面运行pptpsrv.exe。
Router port forwarding 1723到内网的VPN服务器电脑。GRE Protocal 47不知道咋搞
,不是端口。
2)远程启动pptpclnt.exe连接VPN服务
3)内网pptpsrv.exe收到以下LOG信息
Waiting for inbound connection on TCP port 1723...
Inbound connection from client has completed successfully!
Data received from client:
---> hello
Sending the message 'Reply from server' to the client
=====================================================
Connectivity test to TCP Port 1... 阅读全帖
d***n
发帖数: 1
23
Internet Gurus:
How can I program the Winsock control in Visual Basic to send a text file
from one machine and receive the file from another machine? I need an easy way
to exchange text files between two machines with IP addresses. Could you give
me any suggestions or links to sample programs? Thanks in advence.
h***s
发帖数: 2499
24
laptop 刚重装了系统xp home,在学校用cable上不了网,网线没问题,在另一台机
器上是好的。无论dhcp来获得ip还是手动设定这个网线的ip都上不了网。
ipconfig /renew 总是失败,用winipcfg.exe来renew也失败:"DHCP server unav
aliable" ,昨天发现不能上网,重装了网卡,改了注册表里winsock,都不行,今
天重装了系统竟然也不行,茫然中....
大虾们给看看吧,谢谢了!
v*********u
发帖数: 58
25
我用visual 2008 C++ 编个小应用程序,我想实时地得到(比如每20秒刷新一次)当前
系统中有哪些正在运行的socket, 这些socket对应的系统process name是什么?
请问大牛:我怎样才能实现这个功能呢?winsock有提供对应的API吗?请大牛不吝赐教
,万分感谢!
g*********s
发帖数: 35
26
Thank you!
I am reading something regarding Winsock programming.
h**********c
发帖数: 4120
27
来自主题: Programming版 - 一个比较模糊的问题
如果说一个人能想清楚自己的问题是什么的时候,多办就悟了.
现实情况是可能反正差不多就那样了,进入下一个循环了.
很小的时候,读一本书说goto语句,会导致一种现象叫a bowl of noodle,有一种病毒也
叫Yankee noodles,不太搭界,很幽雅的bso很象conference 上的大牛.
回到问题,看程序,
程序老crash,crash 的话,应该能dump,不过我老不知道怎么dump visual c++ 2008写的
程序,看dump也是一门大学问,不过人逼到份了,也就看了.这是问题一.
我模糊记得c的程序全都有一个可以重载的函数,是_exit.一个很不好debug 的程序,多
线程,很多内cool外cool,亦动亦静,不告诉你,不提示你,不同的程序员可能exit(1
),也可能exit(0) 或者 -1, 我们很希望能cerr或者prinf,另外一种的可能是我们观
察不到正确的管道,那么重载_exit能不能给我们一个办法就是能告诉我们哪一个函数
exit了,比方很nice地象gdb一样,告诉我们哪一个文件的哪一行。
我说的这个东西是visual c++,开始deb... 阅读全帖
h**********c
发帖数: 4120
28
来自主题: Programming版 - 一个比较模糊的问题
如果说一个人能想清楚自己的问题是什么的时候,多办就悟了.
现实情况是可能反正差不多就那样了,进入下一个循环了.
很小的时候,读一本书说goto语句,会导致一种现象叫a bowl of noodle,有一种病毒也
叫Yankee noodles,不太搭界,很幽雅的bso很象conference 上的大牛.
回到问题,看程序,
程序老crash,crash 的话,应该能dump,不过我老不知道怎么dump visual c++ 2008写的
程序,看dump也是一门大学问,不过人逼到份了,也就看了.这是问题一.
我模糊记得c的程序全都有一个可以重载的函数,是_exit.一个很不好debug 的程序,多
线程,很多内cool外cool,亦动亦静,不告诉你,不提示你,不同的程序员可能exit(1
),也可能exit(0) 或者 -1, 我们很希望能cerr或者prinf,另外一种的可能是我们观
察不到正确的管道,那么重载_exit能不能给我们一个办法就是能告诉我们哪一个函数
exit了,比方很nice地象gdb一样,告诉我们哪一个文件的哪一行。
我说的这个东西是visual c++,开始deb... 阅读全帖
a****l
发帖数: 8211
29
来自主题: Programming版 - 今天被一个面试问题难住了
http://www.cpptalk.net/containingrecord-macro-vt50598.html
Hi All
I was reading an article
"http://msdn.microsoft.com/msdnmag/issues/1000/Winsock/default.aspx"
where I encountered a macro called CONTAINING_RECORD. A purpose of this
macro is to return a poniter to the extended structure.
After the pointer to the OVERLAPPED structure is returned, the
CONTAINING_RECORD macro can be used to obtain a pointer to the extended
structure.
OVERLAPPED *Overlap;
OVERLAPPEDPLUS *OverlapPlus;
typedef struct _... 阅读全帖
a****l
发帖数: 8211
30
来自主题: Programming版 - 今天被一个面试问题难住了
http://www.cpptalk.net/containingrecord-macro-vt50598.html
Hi All
I was reading an article
"http://msdn.microsoft.com/msdnmag/issues/1000/Winsock/default.aspx"
where I encountered a macro called CONTAINING_RECORD. A purpose of this
macro is to return a poniter to the extended structure.
After the pointer to the OVERLAPPED structure is returned, the
CONTAINING_RECORD macro can be used to obtain a pointer to the extended
structure.
OVERLAPPED *Overlap;
OVERLAPPEDPLUS *OverlapPlus;
typedef struct _... 阅读全帖
g***t
发帖数: 77
31
来自主题: Security版 - 请问911病毒该怎么杀呀??
removal:
Delete the C:\Program Files\Chode or C:\Program Files\Foreskin directory
Delete C:\Windows\Start menu\Programs\Startup\Ashield.pif
Delete C:\Windows\Start menu\Programs\Startup\Netstat.pif
Delete C:\Windows\Start menu\Programs\Startup\Winsock.vbs
L****g
发帖数: 155
32
来自主题: Security版 - 请问有可能是winsock出毛病了吗?
接上题!
我现在用ping加过密的服务器,能能到ip地址,可是request time out!
什么原因呢?
请高手指点!
o*****l
发帖数: 539
33
来自主题: Security版 - 紧急求助: Internet Security 2010
Problem fixed.
(1) Delete Registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock2
(2) Find a good computer, export them to 2 files
(3) Import them to this computer
(4) Reboot
B*******e
发帖数: 3882
34
来自主题: Windows版 - Re: XP network problem
I got this from the web, I never tried it, although many of the ppl(from the
replies to the msg) said it worked.
http://www.linksys-router.com/forum/ShowMessage.asp?ID=796
and I suggest u backup ur registry before u try to modify it.
Topic: Re:Re:The TCP/IP network transport is not installed
Posted by: Tweak
Date/Time: 9/30/2003 1:07:33 AM
Simply delete and restore from another clean and working machine with the sa
me OS the Winsock and Winsock2 keys of the registry(HKEY_LOCAL_MACHINE\Syste
m\Cu
m********r
发帖数: 334
35
来自主题: Windows版 - 上不了网了可以ping怎么回事?
ping yahoo都可以,就是打不开网页,telnet也不通,感觉是winsock,但是用lsp和wi
nsockxpfix还是不行,谁遇到过?
j******o
发帖数: 4219
36
我也碰到了,管理员模式运行cmd,输入netsh winsock reset,然后重启。
软软越做越烂了。
v*********u
发帖数: 58
37
我用visual 2008 C++ 编个小应用程序,我想实时地得到(比如每20秒刷新一次)当前
系统中有哪些正在运行的socket, 这些socket对应的系统process name是什么?
请问大牛:我怎样才能实现这个功能呢?winsock有提供对应的API吗?请大牛不吝赐教
,万分感谢!
t*******8
发帖数: 13
38
A financial technology firm is currently seeking smart people to join
their high performance, low latency electronic trading platform
development team. The company’s headquarter locates in New York’s
financial district, right next to the NYSE building. Please send your
resume to m**[email protected] if you are interested.
Opening one:
Job Title: Mid Level C/C++ Developer
Essential Experience:
• 2 or 3 years of experience in commercial software development in
C or C++
• A good working... 阅读全帖
t*******8
发帖数: 13
39
A financial technology firm is currently seeking smart people to join
their high performance, low latency electronic trading platform
development team. The company’s headquarter locates in New York’s
financial district, right next to the NYSE building. Please send your
resume to y***[email protected] if you are interested.
Opening one:
Job Title: Mid Level C/C++ Developer
Essential Experience:
• 2 or 3 years of experience in commercial software development in
C or C++
• A good workin... 阅读全帖
1 (共1页)