Help to figure out

This is what i'm trying to do.
I have various number of clients that send SIP messages to the server.
When a server receives a message it starts a thread for that particular
client, reads the message and forwards the message as necessary.
My problem is, if the same client sends another message i dont want the server to start a new thread, instead i want the message to go
through the previous thread.
I am stuck with how can i implement this idea? any help will be highly
appreciated. thanx in advance

You need at least 2 thread - one thread for accepting new connection from client and second for proccessing data from clients.
How proccesing all in one thread : you must create List of connections and using iterator run on over all connection and handle it one by one. IT is slow and not reccomend. I recomend handle all in separate threads.

Similar Messages

  • I recently deleted two albums off of my iphone via itunes but, they are still showing up on my phone, they are not albums that i have purchased through itunes, can someone help me figure out how to delete them please?

    I recently deleted two albums off of my phone using itunes, but when i went back onto my phone, they were still there and playable. they are not songs that I have purchased via itunes so can someone please help me figure out what is wrong so that i can fix the problem

    Hi, Abril_Perez17.
    This may be related to a new feature embedded in iOS7 that shows all purchased music by default.  Go to Settings > Music, then turn off Show All Music.  See if the issue ceases once the feature has been disabled.  This information is located on page 63 of the user guide below. 
    iPhone User Guide
    Regards,
    Jason H. 

  • HT6154 Can someone please just help me figure out how to update this stupid phone without losing anything? I somehow have more than one Apple ID on this,but I just want my music and my pictures to stay and I'm terrified of losing these things.

    Can someone please just help me figure out how to update this stupid phone(iPhone 4)without losing anything? I somehow have more than one Apple ID on this,but I just want my music and my pictures to stay and I'm terrified of losing these things. I have a lot of music from old CDs on here,and for some reason I can't even transfer them manually onto my computer. I'm not tech savvy whatsoever. Someone please help,having my music is the the whole reason I still have this phone.

    First read about back http://support.apple.com/kb/ht1766
    Then  read on how to transfer photos to your computer http://support.apple.com/kb/ts3195
    Then
    UPDATING iOS
    Over the air updating of iOS needs iOS 5 or later so unless you have iOS 5 or later you will not see updating in setting
    The following link explains how to update http://support.apple.com/kb/HT4972
    This link explains how to update using wireless http://support.apple.com/kb/HT4623
    This explains how to transfer purchases to your computer http://support.apple.com/kb/ht1848

  • Can someone please help me figure out how to "clear" recent email addresses used in Mail?

    Can someone please help me figure out how to “clear” recent email addresses used in Mail?  For example, as I begin typing a name/email address in the “To:” field, Mail begins suggesting addresses that I’ve previously used.  I don’t want any suggestions unless they are in my contacts. 
    Another example:  When using MS Outlook, it will also remember and suggest email accounts previously used, but I can arrow down and delete an account from the list so it won’t automatically popup or suggest in the future. 
    I appreciate any guidance in this matter. 

    The iOS email app stores all email recipients in a list of previous recipients which cannot be turned off. The email address autofill feature when addressing an email pulls from contacts and from the list of previous recipients which can't be prevented. There is no option to clear the list of previous recipients - not at the present time anyway.
    If you don't want any suggestions, select from contacts instead when addressing an email.

  • Can you please help me figure out my i phone and how to use the features

    i need some help on figuring out my phone can you please help me figure out how to use my i phone and the blue tooth features to listen to music or how can a friend or a relative send me songs for me to listen to.....                   

    To listen to music with a headset or earbuds via bluetooth requires a bluetooth stereo headset.
    File transfer via bluetooth is not supported. A friend or relative can purchase music for you via the iTunes music store with an iTunes store gift card or by sending you the music gift via email from iTunes.

  • I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out wh

    I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out what is going on? We have it set on auto renewal so I know its not that we haven't renewed this subscription, because we pay automatically.

    Hi olivias,
    It sounds like there may be some confusion on your system about what application should be associated with PDF files. You can reset filename associations by following the steps in these articles (depending on your operating system):
    How to change the default application for a file type | Macworld
    http://windows.microsoft.com/en-us/windows/change-default-programs#1TC=windows-7
    Please let us know if you have additional questions.
    Best,
    Sara

  • Can anyone help me figure out how to sync my ipod with my purchased music?  I have used several computer and at one point synced my ipod with a computer that only had about half of my music.  My other computers are no longer working.  Not sure how to get

    Can anyone help me figure out how to sync my ipod with my purchased music?  I have used several computer and at one point synced my ipod with a computer that only had about half of my music.  My other computers are no longer working.  Not sure how to get my purchased music back onto my ipod?

    Hi kimcinma!
    Your previous purchases are saved on iCloud even if you bought them on another computer. If you can't find them on your current computer, you might need to unhide them. Go to iTunes preferences, and click on Store Preferences. Then click the box for "show iTunes in the Cloud purchases". Then click on OK, and everything you've ever bought from iTunes on that Apple ID will show up in your library. You will need to download them from iCloud first before you can synch them to your iPod Classic. To do this, click on the little cloud with the arrow in it next to your song, and it will download to your computer. When you have the music that you want downloaded, plug in your iPod and synch away. Hope this helps!
    Sandygirl

  • Can someone help me figure out why my MacBook Pro froze...

    I just closed a usb drive window, and ejected the drive when my computer suddenly froze. I was running: Excel, Firefox, Speed Download, and Mail.
    After about ten minutes or so of waiting I restarted my computer and found this log. Can you help me figure out what went wrong?
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: LaunchCFMApp [263]:30995 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: LaunchCFMApp [262]:29991 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: iTunes [260]:28715 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: coreaudiod [38]:28179 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: firefox-bin [219]:25667 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: Mail [202]:27651 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: Starry Night [199]:26627 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: Speed Download [197]:26123 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: LittleSnitchDaemon [182]:23555 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: Finder [179]:19459 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: SystemUIServer [178]:17923 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: SystemUIServer [178]:16403 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: Dock [176]:16899 not responding.
    Oct 24 07:42:27 Alpha diskarbitrationd[39]: ATSServer [63]:12803 not responding.
    Oct 24 07:51:57 localhost kernel[0]: hi mem tramps at 0xffe00000
    Oct 24 07:51:57 localhost kernel[0]: PAE enabled
    Oct 24 07:51:57 localhost kernel[0]: standard timeslicing quantum is 10000 us
    Oct 24 07:51:57 localhost kernel[0]: vmpagebootstrap: 383643 free pages
    Oct 24 07:51:57 localhost kernel[0]: migtable_maxdispl = 71
    Oct 24 07:51:57 localhost kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes
    Oct 24 07:51:57 localhost kernel[0]: 89 prelinked modules
    Oct 24 07:51:57 localhost kernel[0]: ACPI CA 20060421
    Oct 24 07:51:57 localhost kernel[0]: AppleIntelCPUPowerManagement: ready
    Oct 24 07:51:57 localhost kernel[0]: AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
    Oct 24 07:51:57 localhost kernel[0]: AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
    Oct 24 07:51:57 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
    Oct 24 07:51:57 localhost kernel[0]: The Regents of the University of California. All rights reserved.
    Oct 24 07:51:57 localhost kernel[0]: using 7864 buffer headers and 4096 cluster IO buffer headers
    Oct 24 07:51:57 localhost kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes
    Oct 24 07:51:57 localhost kernel[0]: Started CPU 01
    Oct 24 07:51:57 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
    Oct 24 07:51:57 localhost kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3)
    Oct 24 07:51:57 localhost kernel[0]: Security auditing service present
    Oct 24 07:51:57 localhost kernel[0]: BSM auditing present
    Oct 24 07:51:57 localhost kernel[0]: disabled
    Oct 24 07:51:57 localhost kernel[0]: rooting via boot-uuid from /chosen: 831ACFE5-5EEF-4B22-8C04-C0A6524AADB7
    Oct 24 07:51:57 localhost kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    Oct 24 07:51:57 localhost kernel[0]: USB caused wake event (EHCI)
    Oct 24 07:51:57 localhost kernel[0]: Debug driver registered: AppleUSBUHCI
    Oct 24 07:51:57 localhost kernel[0]: FireWire (OHCI) Lucent ID 5811 PCI now active, GUID 0016cbfffe4ccb7a; max speed s400.
    Oct 24 07:51:57 localhost kernel[0]: CSRHIDTransitionDriver::probe: 0x0
    Oct 24 07:51:57 localhost kernel[0]: CSRHIDTransitionDriver::start before command
    Oct 24 07:51:57 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleAHCI/PRT2 @2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDri ver/TOSHIBA MK8032GSX Media/IOGUIDPartitionScheme/Customer@2
    Oct 24 07:51:57 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2
    Oct 24 07:51:57 localhost kernel[0]: jnl: replay_journal: from: 4944384 to: 6034432 (joffset 0xa701000)
    Oct 24 07:51:57 localhost kernel[0]: CSRHIDTransitionDriver::stop
    Oct 24 07:51:57 localhost kernel[0]: HFS: Removed 1 orphaned unlinked files
    Oct 24 07:51:57 localhost kernel[0]: USBF: 27.725 AppleUSBEHCI[0x2d6f000]::Found a transaction which hasn't moved in 5 seconds on bus 253, timing out!
    Oct 24 07:51:57 localhost kernel[0]: Jettisoning kernel linker.
    Oct 24 07:51:57 localhost kernel[0]: Resetting IOCatalogue.
    Oct 24 07:51:57 localhost kernel[0]: Matching service count = 0
    Oct 24 07:51:57 localhost kernel[0]: Matching service count = 0
    Oct 24 07:51:57 localhost kernel[0]: Matching service count = 0
    Oct 24 07:51:57 localhost kernel[0]: Matching service count = 0
    Oct 24 07:51:57 localhost kernel[0]: Matching service count = 0
    Oct 24 07:51:57 localhost kernel[0]: Matching service count = 0
    Oct 24 07:51:57 localhost kernel[0]: Previous Shutdown Cause: 3
    Oct 24 07:51:57 localhost kernel[0]: mac 10.3 phy 6.1 radio 10.2
    Oct 24 07:51:57 localhost kernel[0]: IPv6 packet filtering initialized, default to accept, logging disabled
    Oct 24 07:51:57 localhost mDNSResponder-108.2 (Aug 25 2006 14: 50:48)[33]: starting
    Oct 24 07:51:57 localhost memberd[40]: memberd starting up
    Oct 24 07:51:57 localhost lookupd[44]: lookupd (version 369.6) starting - Tue Oct 24 07:51:57 2006
    Oct 24 07:51:57 localhost DirectoryService[45]: Launched version 2.1 (v353.2)
    Oct 24 07:51:59 localhost configd[37]: com.apple.SystemConfiguration.DynamicPowerStep load failed
    Oct 24 07:51:59 localhost kernel[0]: yukonosx: Ethernet address 00:16:cb:8a:7a:43
    Oct 24 07:51:59 localhost diskarbitrationd[39]: disk0s2 hfs BABDE111-6071-3972-9C86-77812E4EB69A Macintosh HD /
    Oct 24 07:51:59 localhost kernel[0]: AirPort_Athr5424: Ethernet address 00:14:51:ed:9a:ae
    Oct 24 07:52:01 Alpha configd[37]: setting hostname to "Alpha.local"
    Oct 24 07:52:02 Alpha lookupd[62]: lookupd (version 369.6) starting - Tue Oct 24 07:52:02 2006
    Oct 24 07:52:02 Alpha /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Oct 24 07:52:03 Alpha kernel[0]: AppleYukon - en0 link active, 100-Mbit, full duplex, symmetric flow control enabled
    Oct 24 07:52:03 Alpha loginwindow[64]: Login Window Started Security Agent
    Oct 24 07:52:05 Alpha configd[37]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
    Oct 24 07:52:05 Alpha configd[37]: posting notification com.apple.system.config.network_change
    Oct 24 07:52:05 Alpha lookupd[74]: lookupd (version 369.6) starting - Tue Oct 24 07:52:05 2006
    Oct 24 07:52:07 Alpha mDNSResponder: Adding browse domain local.
    aped[56]: mcxd[67] is running as the super-user. It is not possible for APE to affect this process in any manner whatsoever.
    Oct 24 07:52:16 Alpha configd[37]: target=enable-network: disabled
    Oct 24 07:52:47 Alpha kernel[0]: IOBluetoothHCIController::start Idle Timer Stopped
    Oct 24 07:52:48 Alpha kernel[0]: Registering For 802.11 Events
    Oct 24 07:52:48 Alpha kernel[0]: [HCIController][setupHardware] AFH Is Supported
    Oct 24 07:53:04 Alpha /Library/Application Support/LaCie/LaCie Backup/laciebackupd.app/Contents/MacOS/laciebackupd: laciebackupd could not load preferences for hotkeycode. Default : "s"
    Oct 24 07:53:04 Alpha /Library/Application Support/LaCie/LaCie Backup/laciebackupd.app/Contents/MacOS/laciebackupd: laciebackupd could not load preferences for hotkeymodifier. Default : "controlKey"

    Checked to see how much space is available ??
    Click your Apple menu  top left in your screen. From the drop down menu click About This Mac > More Info > Storage
    Make sure there's at least 15% free disk space. Less can slow your Mac down.
    Check the startup disk lately?
    Launch Disk Utility located in HD > Applications > Utillities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk  (not Verify Disk Permissions)
    If DU reports errors, restart your Mac while holding down the Command + R keys. From there you should be able to access the built in utilities in OS X Recovery to repair the startup disk.

  • Can anyone help me sync calendars from my iPhone to my Mac and help me figure out how to edit or delete lists in Reminders?

    Can anyone help me sync calendars from my iPhone to my Mac and help me figure out how to edit or delete lists in Reminders?  I thought upgrading to Mountain Lion would work, but I'm having the same problem as before under Snow Leopard.  So, here's my situation. 
    I'm running 10.8.2 on a Macbook Pro.  I have a 3GS iPhone running 6.0.1.  I can make entries on my Mac Calendar and they will show up on my iPhone, but if I make an entry on my iPhone, it never makes it to my Mac.  Also, I notice that when I log in to my iCloud account on my Mac, it has a "me.com" email address as my apple i.d., but it is not my primary account i.d. and I can't figure out how to delete it.  Also, my Reminders application won't allow me to delete lists I created.  Contacts, on the other hand, work instantaneously regardless of where the change is initiated.

    On you iPhone check Settings>Mail,Contacts,Calendars>Default Calendar (in the calendars section).  Here be sure you have selected the Calendar listed under your iCloud account ID as your default.  If you haven't, make this change, then enter a new event on your phone and see if it syncs properly now.
    You should be able to delete you reminders list by, from the Lists view, tapping Edit at the top, then tapping next to the list you want to delete and tapping Delete.

  • Can anyone help me figure out how to use my new LaCie external hard drive to import movies from my camcorder into imovie '09? I ran into so many problems last night!! Was up way past my bedtime!

    Can anyone help me figure out how to use my new LaCie external hard drive to import movies from my camcorder into imovie '09? I ran into so many problems last night!! Was up way past my bedtime!

    I'll stay in this chat ... I answered in the other one ... I have a Sony digital Handycam ... from years ago.  I just got the LaCie and I think I formatted it for only to be used on my Mac ... how should I go about reformatting it to be HFS Extended like you said?

  • I have a Symphonic 32' HDTV (Dolby Digital Plus). can someone help me figure out how to configure it optimally with my Mac Mini? the display and sound is off. Do I need drivers/software? I'm new to macs.

    I have a Symphonic 32' HDTV (Dolby Digital Plus). can someone help me figure out how to configure it optimally with my Mac Mini? the display and sound is off. Do I need drivers/software? I'm new to macs.

    Hello, since nobdy else has replied...
    Long shot, but...
    Open Audio Midi Setup in Applications>Utilities, see the input & output options & KHz setting there.

  • Photoshop CS6 could not update successfully.  Error codes Adobe Photoshop 13.0.1.3 Installation failed. Error Code: U44M1P7  Extension Manager 6.0.8 Update Installation failed. Error Code: U44M1P7  Please help me figure out how to call customer service. 

    Photoshop CS6 could not update successfully.  Error codes Adobe Photoshop 13.0.1.3 Installation failed. Error Code: U44M1P7  Extension Manager 6.0.8 Update Installation failed. Error Code: U44M1P7  Please help me figure out how to call customer service.  I would prefer to talk to someone directly.

    Are you using any disk cleaner or optimization tools like CleanMymac or Mackeeper?
    Regards,
    Ashutosh

  • HT204053 Help me figure out the restrictions passcode

    Help me figure out the restrictions passcode i need to get on to restrictions

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device
    1. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. iOS- Understanding passcodes
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. How to Recover Forgotten iPhone Restrictions Passcode | The iPhone and iPad
    6. Restoring iPod touch after forgotten passcode
    7. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    Restrictions Passcode Help
    1. How to Recover Forgotten iPhone, iPad Restrictions Passcode

  • I made a website, but have now deleted it in order to take it down. However, after deleting it, the website is still online? Can anyone help me figure out how to remove the site completely?

    I made a website, but have now deleted it in order to take it down. However, after deleting it, the website is still online? Can anyone help me figure out how to remove the site completely?
    The site is joehewett.uk and I am worried that now I do not have the files of the website I cannot remove it?
    James.

    Did you delete the files from your Remote server?
    Deleting the local site folder or the site definition in DW will have no effect on your remote site.
    When I go to your URL, I see the index.html page with 16 code errors and this background image:
    http://joehewett.uk/Untitled-1.jpg
    So the site is still online until you delete those files from your server.
    Nancy O.

  • Hello, i was wondering if you can help me figure out how to edit a video to zoom in and out with the beat of the music?

    Hello, i was wondering if you can help me figure out how to edit a video to zoom in and out with the beat of the music?

    Use markers on every beat.
    The edit the zoom/scale to the markers.
    Adobe Premiere Pro Help | Working with markers

  • I have FCPX 10.0.0 I'm trying to install updates. It's not allowing me to do this. The App Store says I did not buy the FCPX from the App store. Which I did. Can anyone help me figure out how to update my FCPX?

    I have FCPX 10.0.0 I'm trying to install updates. It's not allowing me to do this. The App Store says I did not buy the FCPX from the App store. Which I did. Can anyone help me figure out how to update my FCPX?

    Hi , a similar thing happened to me with another piece of software .. it was then that I realized I have two accounts .. I have no recollection of setting up two but it seems I did somewhere along the line.. I have jimkells and the second is [email protected] .. so when I logged in as the other acc there it was and I was able to update .. could it be FCPX was bought on another user account ??
    Jim

Maybe you are looking for

  • Ovi Store and my E71

    Ok so I'm quite new to this nokia, but the one thing i have been rtying to do this past week is to get some free apps and games on it and so far I have wasted 1 Gigabits of data just re-downloading the same 3 - 4 apps that always seem to fail when In

  • DV7 1175nr installed windows 7 ultimate 64 bit everything but blu ray works

    everything but blu ray works I've removed the blue ray like hp said and to see if it would re install no luck I've installed all kinds of version of the hp smart dvd and nothing  I've tried chatting with hp  and they have been no help if i put a regu

  • GroupwareException: Error occurred while processing the response

    Good Afternoon. We are configuring the calendar integration with MS Exchange on our EP NW'04s, and We are getting the following error: "com.sap.ip.collaboration.gw.api.framework.groupware.GroupwareException: Error occurred while processing the respon

  • COPA PA segment

    Hi, In COPA, there are two table: CE4***, CE4**_ACCT (*** mean operating concern), i see these table all store PA segent information, including PA segement No, sales org, etc. The PA segment No in this two table is not overlap, i wonder what PA segem

  • GeForce 7600GS on a dual 1.8ghz G5

    Does the GeForce 7600GS work on my Powermac G5 1.8ghz dual? http://inwarehouse.se/Product.aspx?prd=1180382&node=503