- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Networking
- >
- Re: Port is not recvng data continusly
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2009 11:20 PM
тАО10-09-2009 11:20 PM
Port is not recvng data continusly
i developed a socket application to recive data from port.this application recvng data from a unit through port no 4444(Vehicle Tracking unit). this application recvng data and evrything is ok....but some times no anydata is coming in to this application.for eg:if application recves data 2 days after that 2 days it will recve one or two data only....again after 2 days it will recve all data correcly....that means lot of missing data we have....my question is whether this missing data is bse of my socket application or unit???????
The manufacturing company telling us unit is sending the data continuiously..but some times this socket application is not recvng data in 2 days interval....i dont know how to solve this issue....is any other setting is required in server to recve data continuously....
i think socket application 100% is ok...unit maufactures telling unit also sending data continuously...then where the problem is???can anybdy share ur idea about this?
i have one more doubt.our server port no(4444) recvng data from diffrnt units at a time...whther this will create the pblm of missing data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2009 06:20 AM
тАО10-10-2009 06:20 AM
Re: Port is not recvng data continusly
without being able to see your server code.
Knowing something about the client might be
nice, too.
> i think socket application 100% is ok...
> unit maufactures telling unit also sending
> data continuously...then where the problem
> is???
Perhaps one of you is wrong. (Perhaps both.)
> i have one more doubt.our server port
> no(4444) recvng data from diffrnt units at
> a time...whther this will create the pblm
> of missing data?
Perhaps. It might depend on exactly what
your program does when a second client tries
to connect. Is there a fork() in there
anywhere?
Again, with approximately no useful
information about the server program or its
client(s), it's hard to guess what might be
happening. What have you done to try to
determine what the server code is doing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2009 03:56 PM
тАО10-10-2009 03:56 PM
Re: Port is not recvng data continusly
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2009 07:53 PM
тАО10-10-2009 07:53 PM
Re: Port is not recvng data continusly
> resolve. [...]
That's a pretty definitive statement
considering how little evidence we have on
which to base anything. I can imagine
problems in the server code which could be
revealed with a few diagnostic printf()'s,
but my psychic powers must be much weaker
than those of some others who, with the
evidence available here, can say exactly
what will be needed to solve this problem.
I'm envious.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2009 09:56 PM
тАО10-11-2009 09:56 PM
Re: Port is not recvng data continusly
http://download.microsoft.com/download/c/4/8/c488a081-85f2-4a2e-a121-ef5cad681313/vbSockets.exe
thankfull to ur gr8 support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 12:19 AM
тАО10-12-2009 12:19 AM
Re: Port is not recvng data continusly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 03:53 AM
тАО10-12-2009 03:53 AM
Re: Port is not recvng data continusly
This section of ITRC Forums is for HP-UX, an operating system that is completely different from Windows and does not support Visual Basic.
I'm requesting the forum moderators to move this question to a more appropriate section of the ITRC Forums.
But in general, posting a link to an undocumented generic example code is not sufficient to determine whether you've used the code correctly in *your* program.
As Bill suggested, a network analyzer would be useful in capturing a trace of the traffic incoming to port 4444 of your server. Analyzing that trace would tell you if the data is coming in or not, and whether the sending unit and/or your application successfully recovers from any interruptions in the connection or not. Of course, you will need some knowledge of TCP/IP basics to understand the trace.
You cannot troubleshoot this problem effectively unless you understand what *should* happen at the level of the network trace and compare that to what is *actually* happening.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 04:00 AM
тАО10-12-2009 04:00 AM
Re: Port is not recvng data continusly
Maybe you can try HP-UX facility nettl in your servers:
# nettl -start
Initializing Network Tracing and Logging...
Done.
# nettl -traceon all -entity all -f /tmp/mytrace
After enough time according to your requirements (a day maybe) passed:
# nettl -traceoff -entity all
# netfmt -N -f /tmp/mytrace.TRC000 > /tmp/trace0
# nettl -stop
# more /tmp/trace0