I need a reliable (auto reconnect, no data loss, etc) TCP/CP Socket class

I have been searching for a third party (free or pay) socket class that will do things that all of us programmers must do:
reconnect when socket is disconnected
reconnect and re-send data (so no data loss)
and implementing all of these other features that we all require for "reliable" network communications over public networks.
I would like to use this socket class on both my client and server applications. Does one exist somewhere? It certainly must. I want something that is tried and proven. free is great with open source but paying money is okay too. thanks !

I am surprised at these responses. Using JMS or creating my own ARQ seems to not meet my requirement (lots of overhead in the case of JMS you usually need a middle "server" and the overhead is huge in high bandwidth situations -- lots of cpu and extra bandwidth -- and the ARQ is a nice idea but i really dont want to create anything myself)
The fact is TCP/IP is unreliable over the internet. anyone who tries to use sockets over the internet recognizes this. It is not an issue of my application but the fact of the internet. the internet is designed with the assumption that the internet is unreliable (hence why the government created ARPA and the internet)
so what if i loosened the requirement and said it was okay to lose some packets, but i just need something that knows the other side is alive and will reconnect/discnonect appropriately? doesnt this exist already? i mean every tcp/ip programmer is doing this and anyone who implements tcp/ip with the assumption that the "network is reliable" is going to be in big trouble. It doesnt need to be TCP, it can be a reliable UDP (i dont care what transport is used) but i just need something where i can take my existing code, drop in this new class instead of "Socket" and get my project done. it would be nice if it had features like reconnecting, dropping data if it is too old or if there are too many messages. i will be using it in high bandwidth applications (20-50mbps over the internet) and dont need 100% packet reliability, if we drop some packets due to a hiccup that is ok, but i do need it to be intelligent in reconnecting and such.

Similar Messages

  • Broadband does not auto reconnect after power loss

    I have a D-Link DSL-302G ADSL modem and Netgear AC1900 on an  Eaton Powerware 5110 UPS. When there is power loss or brown out in our neighbourhood , our internet goes off and  does not reconnect automatically. I then have to physically turn off the Netgear Router and turn back on to get the Green LED  Internet light back on.  The modem seems unaffected, but it is bridged so my router controls the connection process. Now this is what has me puzzled - my devices never lose power because of the UPS, and the router connection mode is set to "always on" , and Internet IP address is set to "Get Dynamically from ISP" Is it the local Telstra exchange dropping all connections when swithcing to battery backup, and then disrupting the normal connection process for the Router upon power resume ? Can you confirm what happens, or are there some tests I can do? This is very inconvenient as I run a terminal server, and not in the office all the time to reboot the router.    

    Hi Melior,
    Normally, if there was a loss of power at your premises but not at the exchange then once the power was restored your modem should automatically reconnect (In this instance, a UPS should keep the modem powered up and connected).  If there was a loss of power at the exchange your modem should connect automatically once the exchange is powered back up.  
    So given the information that you have provided, I would suggest that you check your equipment.
    - Ben 

  • I am trying to download Adobe Pro and I keep getting "Reliable Source Serving Corrupt Data" need and answer to this problem. Thank you!

    I am trying to download Adobe Pro and I keep getting "Reliable Source Serving Corrupt Data" need and answer to this problem. Thank you!

    Hi David,
    Please see this forum thread: "Not Enough Storage Space" error - Acrobat 9 Pro
    While it addresses an earlier version of Acrobat, the troubleshooting tips in it should help in your case as well.
    Best,
    Sara

  • Need help with code for adding dates to form

    Hello forum goers
    I'm new to making forms and figured out how to auto add the date, however I need the form to change the date for every copy made.
    For example today is 06/08/2012 if I print 10 copies of the form it will output 10 pages ranging from 06/08/2012 to 06/17/2012. If code exists to do this I would be very gratefull to whoever helps, I also wouldn't mind if that is not possible for manually inputing the start / end dates.
    Currently I print 15-30 copies of the form and hand write each of the dates but I'm just getting to busy to do that. I also cannot print one a day it must be in batches.
    Thanks in advanced.

    What you are asking for is more complex than just setting the current date. Each time the form prints it has to know that it has to change the date. I would suggest doing this.
    First, setup a document level script to set the date to the current date. I suspect that you have already done this?
    Next, Create a "DidPrint" document action to increment the date.  To do this the script will need to scan the current text value of the date, add one day to it, and then reformat it.  You'll find information on this type of scripting in these articles:
    http://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascr
    ipt
    http://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascr
    ipt-part-2
    http://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascr
    ipt-part-3
    Since the increment happenes in the Did Print you will need to print each copy individually. If you enter 10 copies in the print dialog it won't work. You have to print one at a time.  You can automate this activity with a console script.
    One of the advantages of incrementing in the DidPrint is that you can also manually enter a date and it will increment from there.
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)
    Having trouble, Why Doesn't my Script Work?

  • Auto populate a date field in pdf

    in the form I am working on I have a date/time field. I need it to populate the current date when the form is open. I get it to work but it has the time on it. I only need the date. when I try to change it to display just the date. It will not auto populate ? please help. Thank you for any one who can help.
    using adobe livecycle ES

    I found out how to use current date.
    To add current date fields in LifeCycle
    You can use a date/time field to automatically show the current date by using the Runtime Property option in the Value tab of the Object palette.
    Note:  When using a current date field, the date updates to reflect the system’s current date each time a user opens the form. 
    1.  In the Object Library palette, click the Standard category and drag a Date/Time Field object onto the form design.
    2.  In the Object palette, click the Value tab and select Calculated - Read Only from the Type list.
    3.  Select the Runtime Property option.
    4.  View the form in the Preview PDF tab.
    Hope this helps!
    Brian

  • SAP ISU Auto Reconnection on payment receipt

    Hi Friends,
    We need to Automate the process of Auto reconnection on payment received.
    i.e When payment received from customer through FPCJ tcode
    system will look for the disconnection status and do as follows
                If disconnection Status is 20(Disconnection Started)
                   then change Disconnection status to 99( Completed)
    1. How can we change this staus from 20 to 99 ?
    2. What function fodule to be used for doing this status change.
    3. What are the parameters we need to pass to function module for doing this activities.
    Thanks
    SK

    Hi,
    It can be done in following steps:
    1. Use function module ISU_S_DISCDOC_PROVIDE to populate your AUTO parameter by passing disconnection document.
    2. Update following parameters:
    AUTO-CONTR-USE-OKCODE    = 'X'.
    AUTO-CONTR-OKCODE = 'DARKCOMPL'.
    3. Call function module ISU_S_DISCDOC_CHANGE.
    This will complete disconnection document.
    Hope this helps.
    Regards,
    Avinash

  • QuickView - How to auto save extracted data to local file.

    Hi all,
    I am using Quickview to extract data. I need to run the Quickview query in background and auto save the data extracted into local file (ASCII file). Currently when I specified File Store (as my Output Format) and entered a file name (e.g C:\Temp\test.asc). Upon completion of extraction there was a little window pop up that required me to select data format (e.g DAT, ASC) and click <Transfer> button to proceed to save data into local file.
    Is there a way that I can save data into local file without having to manually select ASC data format and click <Transfer> button. I will not be able to schedule my QuickView query to run in background if I can't resolve this problem.
    Note that I don't have access to ABAP programming, therefore this option is out.
    Thanks in advance to anyone who can share your expertise experience.

    What's in the cluster?  Can you show us some code?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can i make my java app auto reconnect to Oracle.

    Scenario:
    when i am working with my java app if suddenly Oracle server connection unplugged. Then i got some problems regarding database.
    When they replugged the connection, i need to restart my app again. Then it works fine.
    Question:
    When the database is replugged or restarted, then how can i reconnect to the DB automatically with out restart my app. Please letme know is there any auto reconnect process is there for Oracle.

    If you want your application to reconnect, you would need to add logic that catches the exception that gets thrown when the connection is lost and tries to reconnect.
    Justin

  • SR520 Auto Reconnect VPN Remote Connection

    Hi,
    I am new to the SR520 router, and I have gotten the vpn server and remote to work. We have 3 of these routers, one at our corporate site, and one at each of our remote sites. The VPN's work good, but I would like them to auto-reconnect because we have some voice traffic that needs to pass over them, and the staff is not very capable of using the connection tool. Is this possible? Is there a time out on them that I can remove?
    I have only used the Cisco Configuration Assistant to configure them, and when I used the command line, the vpn's wouldn't work.
    Any help would be appreciated.

    Addis and I connected with Andy Hickman who share the following that could work for this.
    To keep the tunnel up you can use the auto connect feature of EZVPN.  This is pretty straight forward, just do the following:
    Starting from a standard configuration built by CCA1.9 for remote access, use the following to allow the remote router to connect automatically to the UC500 VPN server.
    On the UC500, add the following configuration via CLI:
    crypto isakmp client configuration group EZVPN_GROUP_1
      save-password
    On the remote device (870 or SR520), add the following configuration via CLI:
    crypto ipsec client ezvpn EZVPN_REMOTE_CONNECTION_1
      username password
    It is also strongly recommended that password encryption is configured on the remote device:
    password encryption aes
    key config-key password-encrypt

  • E72 & VoIP Auto-Reconnect

    I have successfully setup my E72 for SIP calls and it works very well for the most part.
    There is one problem however that means it is very annoying to use.
    The problem is that whenever I move out of a WiFi area and therefore get disconnected from the SIP server, the phone doesn't automatically reconnect to the SIP server when I get back in range of a WiFI area.
    At the moment I therefore have to restart the phone every time I return to a WiFi enabled area to force the phone to reconnect the SIP server. The problem is not with WIFI - this reconnects fine when back in range automaitcally, it is just the SIP server that doesn't auto-reconnect.
    Is there any way to force the phone to reconnect to SIP after disconnection without rebooting it every time please?
    PS I have also tried setting SIP to work over 3G. This works fine but I then get the same problem when I leave a 3G signal area!
    Thanks

    paulbula, I noticed the same problem on my e72. Yes, I can confirm e72 does not reconnect on wifi.
    You also write that you have the same problem on 3G i.e. your e72 does not reconnect to sip server automatically. Well, my e72 does reconnect but the problem is that it needs too much time to reconnect which is very anoying and makes normal nokia sip calling via 3G impossible while walking, driving or when calling in bad network coverage. When I use nokia sip on my nokia n95 8GB I do not have this annoying 3G reconnect problem so this is a e72 problem which needs to be fixed by nokia!
    I describe this problem more in another nokia thread - google for "e72 3x sip hangs".

  • IChat 4: Auto-reconnect, best to use AIM/GTalk or our OS X Server

    Hey guys. I have two questions. Our internet has been extremely flaky and it makes it extremely difficult and frustrating to have video chats between our offices. Every time we have a connection error, the session terminates and we get the error message prompting us to send the report to Apple or ignore. Can I automatically suppress this option to send the report and close the window? Or, better yet, could I set up something (AppleScript?) to automatically recreate the video chat? I already have the AppleScript set up to auto accept the video chat invitation when someone tries to contact us, but I would love it if we could set up a script that auto-contacts other people in a video chat.
    My second question, which is sort of related, at least to performance, has to deal with the best service to use for chatting. We currently use AIM for all of our inter-office text and video chatting needs. We also have an OS X Server, but it's co-located out of our office. Which would be the preferred network to use, if we're just contacting each other? I would have to think AIM because they probably have hundreds of servers, but they also have millions of users. We would have just a handful at a time using ours. Your thoughts on server preference, especially when video is a priority?
    Thanks!

    iChat does not have an Auto Reconnect item as such.
    However if iChat is using an External Camera there is a setting in the iChat > Preferences > Video section that says Connect if Camera is On which will do just that.
    iChat 4 does have a item for remembering open chats across logins/restarts of iChat.
    This is set in the Messages section of the Preferences.
    I am not sure if Chax includes and Auto Reconnect feature or not.
    This may help
    tell application "iChat"
    if status is offline then
    log in
    end if
    set originalStatus to the status message
    end tell
    10:03 PM Friday; June 20, 2008

  • Stop Numbers form auto-formatting imported data

    I use a program to track my time, and it exports as a tab-delimited text file. This should be perfect, just import the data into a Numbers table and bada-bing, right?
    Unfortunately, Numbers is taking it upon itself to auto-format the data as it comes in. For example, there are 2 columns in the report that get auto-formatted. The event start column is exported in the form: dd/mm/yyyy hh:mm, and this is handled fine. The duration column is exported in the form: hh:mm, yet is auto formatted as dd/mm/yyyy hh:mm by Numbers.
    Does anyone know a way to stop Numbers from doing this? My only quick workaround is to import the report in Excel first, then open the Excel xsls file in Numbers (and at that point, why bother using Numbers at all?).
    HELP!

    No need to use two applications!
    --[SCRIPT dateTime2duration.app]
    Enregistrer le script en tant que Script, Application ou Progiciel : dateTime2duration.xxx
    déplacer l'application créée dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner les cellules à convertir
    menu Scripts > Numbers > dateTime2duration
    Le script insère les durées correspondantes.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++
    Save the script as a Script, an Application or an Application Bundle: dateTime2duration.xxx
    Move the newly created application into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select cells to convert.
    menu Scripts > Numbers > dateTime2durationNumbers
    The script insert the corresponding durations.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    --=====
    Yvan KOENIG (Vallauris FRANCE)
    14 mai 2009
    --=====
    on run
    set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    set localOffset to (time to GMT)
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    repeat with x from colNum1 to colNum2
    tell column x
    repeat with y from rowNum1 to rowNum2
    try
    set theDate to (value of cell y)
    if class of theDate is date then
    tell (theDate - localOffset)
    set {hh, mm, ss} to {(its hours) as text, its minutes, its seconds}
    end tell
    set value of cell y to hh & "h" & mm & "m" & ss & "s"
    end if -- class…
    end try
    end repeat -- y
    end tell -- column x
    end repeat -- x
    end tell -- Numbers …
    end run
    --=====
    on getSelParams()
    local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
    set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
    if r_Name is missing value then
    if my parleAnglais() then
    error "No selected cells"
    else
    error "Il n'y a pas de cellule sélectionnée !"
    end if
    end if
    set two_Names to my decoupe(r_Name, ":")
    set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
    if item 2 of two_Names = item 1 of two_Names then
    set {row_Num2, col_Num2} to {row_Num1, col_Num1}
    else
    set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
    end if
    return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
    end getSelParams
    --=====
    on decipher(n, d, s, t)
    tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
    end decipher
    --=====
    set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
    on getSelection()
    local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
    tell application "Numbers" to tell document 1
    repeat with i from 1 to the count of sheets
    tell sheet i
    set x to the count of tables
    if x > 0 then
    repeat with y from 1 to x
    try
    (selection range of table y) as text
    on error errMsg number errNum
    set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
    return {theDoc, theSheet, theTable, theRange}
    end try
    end repeat -- y
    end if -- x>0
    end tell -- sheet
    end repeat -- i
    end tell -- document
    return {missing value, missing value, missing value, missing value}
    end getSelection
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on parleAnglais()
    local z
    try
    tell application "Numbers" to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE jeudi 14 mai 2009 14:01:29)

  • I need the Log Report for the Data which i am uploading from SAP R/3.

    Hi All,
    I am BI 7.0 Platform with Support Patch 20.
    I need the Log Report for the Data which i am uploading from SAP R/3.
    I extract the DATA from R/3 into BI 7.0 DSO where I am mapping the GL Accounts with the FS Item.   In the Transformation i have return a routine on the FS Item InfObject . I am checking the Gl code into Z table for the FS Item .
    I capture the FS item from the Z table then update this FS item to Infobject FS item.
    Now i  need to stop the Data upload if i do not find the GL code in the Z table, and generate report for all GL code for which the FS item is not maintained in the Z table.
    Please suggest.
    Regards
    nilesh

    Hi.
    Add a field that you will use to identify if the GL account of the record was found in the Z table or not. Fx, create ZFOUND with length 1 and no text.
    In your routine, when you do the lookup, populate ZFOUND with X when you found a match (sy-subrc = 0) and leave it blank if you don't find a match. Now create a report filtering on ZFOUND = <blank> and output the GL accounts. Those will be the ones not existing in the Z table, but coming in from your transactions.
    Regards
    Jacob

  • In Icloud I can't see my "numbers" icon which i need to select "tick" to transfer data to my other devices via icloud. any ideas why it's not showing up?

    In Icloud on my imac I can't see my "numbers" icon which i need to select "tick" to transfer data to my other devices via icloud. any ideas why it's not showing up?

    You have to do it app wise, which means that the icon won't show up in settings, but you will be able to move files from your local drive to iCloud via the Numbers app (move... > choose the iCloud option).
    It requires that you set up the same iCloud account on all your devices and that you have the latest version of Numbers on all your devices as well.

  • HT1386 I have an older iPhone (3gs) and need to upgrade to a newer phone (4S).  I need to get my NOTES, CALENDAR, CONTACTS, PICTURES, etc backed up on iTunes so I can get that data loaded onto the new phone.  But not sure how to do that.

    I have an older iPhone (3gs) and need to upgrade to a newer phone (4S).  I need to get my NOTES, CALENDAR, CONTACTS, PICTURES, etc backed up on iTunes so I can get that data loaded onto the new phone.  But not sure how to do that.  When I open iTunes it has a button that say "Back Up iPhone", but I'm not sure what that does.  When I go into the sync options it say I have another user account and asks me if I want to merge of replace. I'm assuming it's trying to tell me I have an older iTunes Library, but don't know that.  Geez, maybe people over 60 shouldn't have iPhones, iTunes just bafles me.

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

Maybe you are looking for

  • I have some to open my note book on my ipad2., i have some to open my note book on my ipad2.

    i have some to open my note book on my ipad2., i have some to open my note book on my ipad2. please help

  • CSA 5.1 & Rule 596

    Rule 596 (Network Access Control) generates a TON of noise. Any best practices on tuning this one? Obviously, cloning the module this one belongs to, "Rootkit Lockdown Module", and setting the new Network Access Control rule built inside to "Deny" in

  • Using iPhoto for a specific PP task - will it cause any issues?

    Since I've started shooting in RAW, I haven't really used iPhoto that much. My current process is to import using Bridge, open images in Adobe Camera Raw to edit and crop, and then open in PS Elements 6 to do final editing. However I don't like the c

  • Keynote for theater presentation

    Hi everyone, I am using keynote to produce a theater presentation which is going to be shown at two televisions simultaneously. The presentation starts with a half an hour video. Is there a way to keep this video (2GB) external? The presentation has

  • No Software for Zen on a MAC OS

    Hello everyone! I just got myself a G5 Imac on Nov st and today I got my MP3 back from Creative [for fixing the head phone jack] and I'm trying to install software so I can upload my music and I just realized I can't find any MAC software. Any MAC us