Can I listens to the same port in differernt threads on the same computer

Q1:can I listens to the same port in differernt threads on the same computer?
Q2:if I use two thread to listen to two different port, you know, as the method for listening is a block method, will them block each other?
Thank you very much!

Q1:can I listens to the same port in differernt
threads on the same computer?If you mean ServerSocket.accept(), the answer is yes.
Q2:if I use two thread to listen to two different
port, you know, as the method for listening is a
block method, will them block each other?No.

Similar Messages

  • Can you listen to the radio without internet on the ipod touch?

    Can you listen to the radio without internet on the ipod touch? (like the nano?)

    RainyRain958 you are just BSs. There is no cellular iPod. Here is the comparison
    http://www.apple.com/ipod/compare-ipod-models/
    You can get iPads that have a cellular radio
    RainyRain958 wrote:
    They sell 5G iPods that are all the same, except that you have cellular. Go to the iPod model comparison page on Apple's website-- the cellular iPod is labeled Wi-Fi + Cellular.

  • I Have An Iphone 4s And When I Listen To Music With My HeadPhones I Cant Lower The Volmume of The Music Beacuse Then It Will Have No Sound I Can Only Listen To The Music With The Volume Loud I Need Help What Can I Do ?

    I Have An Iphone 4s And When I Listen To Music With My HeadPhones I Cant Lower The Volmume of The Music Beacuse Then It Will Have No Sound I Can Only Listen To The Music With The Volume Loud I Need Help What Can I Do ?

    Hi Yendy14,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    Troubleshooting iPhone, iPad, and iPod touch accessories
    http://support.apple.com/kb/TS2634
    Cheers,
    - Judy

  • How i can deauthorize one of the other computer if i change sistem operation?

    How i can deauthorize one of the other computer if i change sistem operation?
    I have a pc with windows.  Now i change the windows and i cand log in to itunes because i have all 5 authorize and i can't deauthorize other pc beacause i change the windows. Is same pc but a different windows, i can't use the old windows, Someone can help me? PLEASE

    About iTunes Store authorization and deauthorization
    If it applies >  One computer using multiple iTunes Store authorizations

  • How Can I listen to the line-in on my T400?

    When I am at my desk, I've always had my satellite radio plugged into the line-in on my computer so that I can listen to it through the same speakers.  With my new T400, I have the radio's output plugged into the line-in on the Advanced Dock.  I know that it's getting a signal because if I record with Microsoft Sound Recorder, it records the radio.  
    How can I listen live to the signal coming into the line-in?

    You can thank Microsoft for this one.  They disabled the pass-through ability in Vista. Apparently too many people complained about feedback issues when trying to use webcams or VOIP programs and didn't know to mute the Line-In on the mixer.  It took me forever to find how to correct it.
    The following will enable the input sliders in your playback devices so audio pass through works without having to run through an application like it worked in XP. Remember, always backup your Registry just in case. I had to create new Keys for filter and SpeakerHp but yours may already be there
    1) Open regedit (Start->Run, type regedit)
    2) Navigate to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE1031*8}\0000\Settings\filter\SpeakerHp\
    3) Create a new Binary Value
    4) Give it the name EnableInputMonitor
    5) Set it's value to 01
    6) Restart your machine
    7) Open your Playback Devices (right click on volume control icon in system tray, select Playback Devices)
    8) Open the Speakers/Headphones
    9) Go to the levels tab
    10) Unmute the input monitor
    T500 - P8600 2.4Ghz Core 2 Duo, Modded - 4GB Patriot DDR3 and 320GB Caviar Black 7200rpm drive with Ati HD3650 and Catalyst 9.6 modded drivers - Vista Business 32bit stripped down to bare bones with VM's from Ubuntu to Win7RC1 64-bit.

  • How can I listen to the music/songs or watch the movies in my iTunes library if I've damaged/lost my iPod and use a system-reovered/new computer?

    I accidentally dropped my iPod Classic 160 GB into the toilet
    bowl of my home sometime ago, and unfortunately enough,
    as misfortunes seldom come singly, I got a serious problem
    with my computer ( an HP Desktop) and had to do the system
    recovery which, as you know, removes everything in the system
    drive. After having reinstalled iTunes, I thought I should be able
    to listen to the music I kept in the Library of iTunes, but I don't
    see any of my music/songs or movies there. Thus come my
    three questions below:
    1) How can I locate and enjoy the music or movies I saved in
    the iTunes Library with a computer after its system recovery
    or even a new computer?
    2) Like the current situation I'm in, when my iPod is damaged
    or lost, can I still enjoy the music or movies saved in the
    iTunes Library from my computer ( meaning without an iPod)
    if I have the iTunes application installed in it? How? Do I have
    to sign in my account? Sign in with my e-mail address saved
    in my account? Where can I find the sign-in webpage of iTunes?
    (Please provide me with the related link of the webpage.)
    3) The above issue brings up another question, are the music/songs
    and movies as well as other programs in the iTunes Library saved
    in my computer or in Apple's server?
    Please, with your kind patience, let me know as detailed as possible.
    And also let me know what Apple's e-mail address I can use to ask
    for support on such issues as described above? Although I always
    prefer asking for support or help by e-mail, I would also appreciate
    if you could let me know the phone number I can use to ask for
    such help.
    Best regards,
    Lawrence Wood

    System Recovery generally assumes you have backed up your data somewhere first. If not, you're in trouble.
    Depending on your region you can recover most of your previous iTunes purchases. Install iTunes. Use Store > Authorize This Computer... and Store > Sign In... then select iTunes Store in the left-hand column and click Purchased in the Quick Links section on the right. You should now be looking at a list of past purchases that you can download to your computer.
    See also: HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Your purchase history is preserved on Apple's servers. Anything you ripped from CD or downloaded from elsewhere was stored on your computer and should have been backed up.
    There is no live telephone support for iTunes issues. For problems with a particular purchase contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support. For general issues with usage this is the place to get help.
    tt2

  • How can I listen to the local radio on my ipod when not on wifi?

    I used to have an ipod nano and was able to listen to local stations on the radio without being connected to wifi and now I have an ipod touch and no longer have that option.  Is there anyway that I can listen to the local radio stations on my ipod touch without being connected to wifi.  I know there is an adapter that I can get to plug into my car to listen to the radio on my ipod but I have a radio in my car so that defeats the purpose.
    If anyone knows a solution please let me know.

    do they have an adapter that doesn't require that it be plugged into the car, just the phone.  Also if they do what is it called and where can I get one.

  • How can I Listen to the File changes?

    Hi all,
    I am confused in this problem.
    How can I make my program listen to the changes in a file. File is not opened in java program, but it is a outside file.
    User is not concerned with java program. User opens a file by double clicking and changes something in file. I want to make my java program listen to the file.So program keeps running. So whenever user changes data in that file, my java program should be notified.
    Please help me.
    Thanks

    I guess there are a couple of options.
    The full-java version is writing an application that opens said file every n seconds on a timer, and compares it against a cache for changes.
    Option two is jni.

  • HT4316 can you listen to the ipod nano radio on a portable speaker, ie, not head/earphones

    Does anyone know if its possible to listen to the ipod nano radio on a portable speaker, and not head/earphones.  I know that the head/earphones act as a antenna, but if plugged into a small portable speaker, does that also work as an antenna?

    Hi how did you solve this I have same problem

  • Can you listen to the iPod 3 while it is charging ?

    My friend says she cannot listen while Nano is charging . Is this a fact or just her learning curve ?
    Thank you , Frederick

    One minor point to Stanton's response, which Stanton can correct me on if I am mistaken, but I think to listen to the iPod while plugged into the computer and showing in iTunes, you need to have it configured for Manual updating, not auto updating? Stanton?
    Patrick

  • HT1338 How can I listen to the music in a PPP presentation. Any suggestion?

    Is there any way I can listen to the music in a PPP presentation?
    Thanks

    Hello, File Juicer is likely the best way!
    http://echoone.com/filejuicer/formats/formats.php?f=pptx

  • Can i listen to the track name and artist in my iphone like ipod shuffle using voiceover kit?

    Hello People,    
    My question is, can i listen to artist and track name on my iphone 4s like Ipod shuffle using voiceover kit?
    Thank You.

    I have an Alpine radio with an iPod dock adapter to let me control my iPod through my head unit. This had worked great with my Nano, but I heard that these adapters didn't work well with the iPhones. Mostly due to interference / feedback from the phone being heard through the speakers.
    However, I was suprised at the compatiblity mine had with the iPhone, especially being that it is a couple years old (the apadpter). When you plug the iPhone in it says that the device may not be compatible with the iPhone and that you should put the phone in "airplane mode." I just kept my nano plugged in as I thought that I didn't want the equivalent of turning my phone OFF when driving, so one day I tapped NO. Well, to my suprise, I did not hear any feedback or interference through my stereo. And, In fact, While I was driving, I received a call and the music stopped and the phone rang!
    So, your mileage may vary on whichever brand adapter you use, but I have found that it works just fine for me. Hope this helps.

  • Just got the ipod touch.. is there anyway I can also listen to the radio?

    Just got the ipod touch.. is there anyway I can listen to the radio on this?

    The iPod Touch does not have built in radio functionality. You may be able to find an App that will give you access to radio while connected to WiFi.
    Stedman

  • Can i listen to the music on my cloud without downloading the music files to my computer?

    Can I listen to music via the cloud without downloading the actual files to the device?
    Basically I want to listen to my music at work without putting the files on my work p.c.
    thanks

    This is not possible. Your purchased music must be downloaded to your computer to listen to the full song.

  • If I have 2 computers at home that have the same itunes account on them, but have different songs on each, can I consolidate the songs to one computer so I can get rid of the older computer?

    I have 2 computers that have downloaded songs from the same itunes account. How can I get all the music on 1 computer so I can get rid of the other?

    make sure you have the new itunes go to the store then it will say purchesd and there after you click it, it will show everything you have ever bought on itunes and you can redownload all your music and anything you bought from there hope this helps

Maybe you are looking for

  • On Demand sub report not printing in IE and Other Browsers

    Hi All, We have developed Crystal report for our web application with version 13.0 and Visual Studio 2010. When we run our web app in IIS report display fine in All web browser and when we print report in ActiveX mode in IE 9+ for main report it prin

  • Specification to Draw image on a page

    Can any one tell me exact Specification to draw image on a page.

  • How to hide rows of Jtable

    i have a table with 200 rows on a filter action i would like to hide some rows and back when i say refresh it should be back with the same old table im using my own tablemodel any help thanks

  • PDF Distribution Limitations with new EULA?

    We have created Interactive PDFs for our customers to use and distribute among their teams. No data from these PDFs are coming back to us. Is someone on this forum able to verify that we are not violating the new EULA 500 limit? After being on hold f

  • Different file size between Photoshop, and finder/explorer?

    I posted this discussion last week  http://forums.adobe.com/message/5820325#5820325   and have now determined that some part (still don't understand how/why)  of my scanning/saving workflow- is creating a new layer "Layer 0" to replace the locked Bac