Search the web
Sign In
New User? Sign Up
hercules-390 · Discussion group for users of the Hercules ESA/390 mainframe emulator
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
socket woes   Message List  
Reply | Forward Message #58151 of 59171 |
RE: [hercules-390] Re: socket woes



--- In hercules-390@yahoogroups.com <mailto:hercules-390%40yahoogroups.com>
, "Fish" <fish@...> wrote:
>
> "TcpTimedWaitDelay "
>
> Valid Range: 30-300 (decimal)

> Try changing your
> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
> \TcpTimedWaitDelay" value to something like 1 or 2 seconds (just
> while we're testing) and then try your test (fishbug) again.

Ok, I don't have this variable. I could add it
though, but I've not done that before, and I
don't want to reboot right now anyway.

Secondly, the minimum is 30 seconds. I am
reluctant to find out what happens when I do
something that is documented as being wrong.
I have enough trouble with my computer even
when I'm doing everything by the book.

Thirdly, can't I simply wait for the default
time and then try again? I've just tried again
after being at work all day and got the same
result.

BFN. Paul.

**************************

From Fish >> (Previous email)

If that helps, all we might need to do to fix the problem might be
something as simple as adding a 'setsockopt' call (after the 'bind')
to enable the SO_REUSEADDR option. <shrug>

>> Actually Fish has a great idea.

I have written a simple windows socket server that used the
Automatic anonymous port feature that we are using here.

I never thought about the fact that "the system assigned port"
Might still be in a un-usable state. This is a very real possibility.

I can not imagine the herc would cycle thru port # quick enough
To wrap around itto a re-use condition.

I was responsible for a tcp server on an ibm mainframe using the sas/c
Bsd/socket library. We used our own well-known port #. But we used
To hit the re-use problem all the time, because in development work
You have to re-cycle the server often. The easy fix was to add the
Re-use address option.

I think adding this will not hurt anything and it could solve some
Of our strange intermitent failure problems. We should add it
To fishbug and see if it fixes the problem on Pauls system :)




Fri Jul 3, 2009 6:52 pm

stevebovy
Offline Offline
Send Email Send Email

Forward
Message #58151 of 59171 |
Expand Messages Author Sort by Date

... Ok, I don't have this variable. I could add it though, but I've not done that before, and I don't want to reboot right now anyway. Secondly, the minimum is...
kerravon86
Offline Send Email
Jul 3, 2009
4:28 pm

... Ok, I don't have this variable. I could add it though, but I've not done that before, and I don't want to reboot right now anyway. Secondly, the minimum is...
Steve And Grace Bovy
stevebovy
Offline Send Email
Jul 3, 2009
6:53 pm

... The new Windows version of the program allows me to switch to Watcom C++ for yet another independent reference (and I don't need to set all that ...
kerravon86
Offline Send Email
Jul 4, 2009
12:45 am

I would like to setup/install herc x64 on a windows 2003 server. But I need some guidance on how to setup the networking ?? Can anyone describe the software...
Steve And Grace Bovy
stevebovy
Offline Send Email
Jul 9, 2009
3:25 am

... You shouldn't have any difficulties doing this.. I'm doing this on a Vista 64 environment without any issues.. Anyway, You *DO* need the 64 bit version of...
Ivan Warren
ivan_warhead...
Offline Send Email
Jul 9, 2009
3:59 am

... You shouldn't have any difficulties doing this.. I'm doing this on a Vista 64 environment without any issues.. Anyway, You *DO* need the 64 bit version of...
Steve And Grace Bovy
stevebovy
Offline Send Email
Jul 9, 2009
4:33 am

Here is what worked for me on Windows 7 Ultimate Beta 64-bit. It may also apply to Win 2003. - Get and install winpcap 4.0.2 (x86 and x64 compatible) ...
g. desbiens
oc66
Offline Send Email
Jul 9, 2009
4:11 am

Here is what worked for me on Windows 7 Ultimate Beta 64-bit. It may also apply to Win 2003. - Get and install winpcap 4.0.2 (x86 and x64 compatible) ...
Steve And Grace Bovy
stevebovy
Offline Send Email
Jul 9, 2009
4:25 am

... Ok, I decided to put things back to how they used to be in the good old days with this: fixports.bat: netsh int ipv4 set dynamicport tcp start=1025...
kerravon86
Offline Send Email
Jul 4, 2009
2:09 am

... <http://support.microsoft.com/kb/929851> ... Ok, I decided to put things back to how they used to be in the good old days with this: fixports.bat: netsh...
Steve And Grace Bovy
stevebovy
Offline Send Email
Jul 4, 2009
4:46 am

... <mailto:hercules-390%40yahoogroups.com> ... <http://support.microsoft.com/kb/929851> <http://support.microsoft.com/kb/929851 ...
Steve And Grace Bovy
stevebovy
Offline Send Email
Jul 4, 2009
4:51 am

... Hash: SHA1 kerravon86 wrote: [...] ... I have no idea. :( However... Since you're using VS2005 whereas I'm using VS2008, there exists the possibility that...
Fish
fish_hercules
Offline Send Email
Jul 5, 2009
8:08 pm

... I've reproduced the problem on 3 different compilers. Surely that is sufficient to eliminate the compiler? ... Directory of C:\scratch\xxxx\sockbug\bin ...
kerravon86
Offline Send Email
Jul 5, 2009
11:37 pm

... "kerravon86" <kerravon86@...> wrote: - - - snipped - - - ... On my Windows XP PRO, Windows assigns low port numbers. On my Windows Vista Home Premium,...
somitcw
Offline Send Email
Jul 3, 2009
3:06 am

... What a lot of crap I have on my system! Anyway, I saved it to a file before my latest run. Some of the numbers are very close, but no exact match. Here's...
kerravon86
Offline Send Email
Jul 3, 2009
4:13 pm

... Hash: SHA1 kerravon86 wrote: [...] ... [...] ... [...] ... FYI: Your is likely cygwin (or mingw?) related. Using your test program (along with the changes...
Steve And Grace Bovy
stevebovy
Offline Send Email
Jul 2, 2009
3:22 am

From: hercules-390@yahoogroups.com [mailto:hercules-390@yahoogroups.com] On Behalf Of Ivan Warren Sent: Sunday, June 28, 2009 4:23 AM To:...
Steve And Grace Bovy
stevebovy
Offline Send Email
Jun 30, 2009
3:18 am

Paul, First, the correction to create_pipe/socketpair is correct (the 2nd & 3rd parameters are reversed).... But irrelevant to your problem ! The parameters...
Ivan Warren
ivan_warhead...
Offline Send Email
Jun 27, 2009
9:15 pm

... Ok. ... Ok, perhaps combined with single-threading on my PC. ... Thanks Warren. Unfortunately I'm still getting: 10:51:07 HHCSD004I Device 000C bound to...
kerravon86
Offline Send Email
Jun 28, 2009
1:00 am

... I tried forcing an unusual amount of time in order to get a hard error. But despite putting a 3 second pause in at the start of socketpair, and a 3 second...
kerravon86
Offline Send Email
Jun 28, 2009
2:05 am

... New idea - I tried doing the same operation in a loop. DLL_EXPORT int socketpair( int domain, int type, int protocol, int socket_vect { int i; for (i = 0;...
kerravon86
Offline Send Email
Jun 28, 2009
4:30 am

... Ok.. You're right.. The locking won't help here.. and it's actually unnecessary. I misinterpreted what a bind to port 0 meant. A bind to port 0 on an...
Ivan Warren
ivan_warhead...
Offline Send Email
Jun 28, 2009
10:01 am

... Even with a 10 second pause after a failure, I still got 16 out of 100 failures. The failures are less batched, but still sometimes batched. It's difficult...
kerravon86
Offline Send Email
Jun 28, 2009
5:14 pm

... "kerravon86" <kerravon86@...> wrote: - - - snipped - - - ... - - - snipped - - - If you haven't put on Vista SP2, you can check for root-kits with: ...
somitcw
Offline Send Email
Jun 28, 2009
10:47 pm

... I have Vista automatic updates on, and I run AVG Free, and I don't install much software. I don't think it's likely to be a virus etc. BFN. Paul....
kerravon86
Offline Send Email
Jun 28, 2009
10:58 pm

... "kerravon86" <kerravon86@...> wrote: - - - snipped - - - ... That is good but don't expect full protection from trojans, worms, viruses, root-kits,...
somitcw
Offline Send Email
Jun 28, 2009
11:37 pm
 First  |  |  Next > Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help