Open Ports of Sockets at the Same Time

Is it any possible I can write a code for open different number of ports for sockets at the same time??
I try to use thread but it is not work....

You want to know if you can open more than one socket where each socket uses a different port?
Yes, you can.

Similar Messages

  • Can I have two projects open on Premiere Elements at the same time? (Elements 13 for Windows)

    Hi there.
    Can I have two projects open on Premiere Elements at the same time?
    The reason I wanna do this is because I've trimmed many hours of clips in one project (One timeline) and I want to start a new project where I have a "clean" timeline and can add clips from the
    first project (Cut and paste). Or how do I bring a trimmed clip from one project into another in a easy way?
    Thanks
    -Dan-

    Your question is in the Photoshop Elements forum.  There is another forum for Premier Elements and this will probably be moved.
    That said, the answer is that Premier Elements has not be designed with the ability to cut and paste from one project to another.  The only "work around" is to "Publish&Share" to a best quality format that matches your project settings.  You can control the output clips with the "work area bars".  You can then add the new clip to the second project.   The output rendering process can, at least in theory, reduce the picture quality.  Depending on formats, settings and footage, it may not be noticeable.
    There is a third party product called Clipmate that some say works, but not always with good results. 

  • Can I open two Safari windows at the same time?

    Can I open two Safari windows at the same time and split the windows in two on my screen? Right now, I have to open Safari and Firefox to get the split screen. I know I can press command to get multiple tabs, but that's not what I want. I want to use Safari on two open windows.

    HI,
    Open a browser window in Safari. Then Command + N
    Press command and ~ or ` to toggle between the windows.
    Carolyn

  • Open 2 iTunes windows at the same time?

    Using iTunes 11.0.4 is there a way to open to Playlist windows at the same time?
    Thanks!!
    Peter

    I know, I know.  iTunes 11 has been a big step back, in my humble opinion.  Had a few issues with iPad & iPod syncing and miss a few 'undocumented features' that I've come to rely on, like multiple windows. 
    Although one thing that has always irritated me is how (which I've submitted an [ignored?] feedback on) the view will reset back to the top/first artist when you are importing a CD ... it means you have to madly scroll through and click on a close-enough artist before iTunes moves on to importing the next track, otherwise the view scrolls back to the top again (I've got almost 28k songs in my library ... not boasting, I just like music).  So it can be quite tedious.
    Would happily revert to iTunes 10.

  • How many meetings can be opened by one account at the same time?

    I've tried Adobe Connect trial version.
    There are few questions about the product.
    1.How many meetings can be opened by one account at the same time?
       I could open 9meetings at the same time using other PCs. What is the limit?
    2.What is the maximum of students in a meeting?
       I'm thinking of buying monthly/Individual product.
    3.The meeting never end even though host is out of it. But we want to control.
       Can host close a meeting so that all participants are out of the session?
    Thanks for your attention.

    This depends on your licensing.
    If you are using a Named Host license, then you can open one meeting at a time. If other members of the Meeting Host group are present in a room, then it should allow you to have multiple rooms open, one for each Meeting Host licensing being used.
    If you are using the Concurrent Learner license, then each meeting you join uses a different licenses, so as long as you have concurrent seats available, you can open as many rooms as you want/need.
    Maximum number of attendees (students) would be your room's concurrent maximum, less your self. The monthly version of Connect offers 25 concurrent attendees in each room, so that would be 24 students and you.
    The meeting does end after it is dormant (no host) for ~15 min, however you can use the End Meeting function (Meeting > End Meeting) to close the meeting and remove everyone, including yourself, from the room.

  • How to open multiple hotmail accounts at the same time ?

    Hi,
    Seems maybe normal for some people but I coming from internet explorer and with this explorer I was able to open multiple hotmail accounts at the same time, by default firefox can't do that, is there some setup to modify to open these at the same time ?
    Thanks in advance for any help.
    (Version updated 3.6.8)
    Regards,
    Chris

    You can look at one of these if you want to sign on with different identities at the same time:
    * CookiePie: http://www.nektra.com/oss/firefox/extensions/cookiepie/
    * CookieSwap: https://addons.mozilla.org/firefox/addon/3255
    * Multifox: http://br.mozdev.org/multifox/ - Different logins at the same time

  • How to handle when Client and server write to the socket at the same time

    Hi all,
    I'm writing a socket communication when client and server may write information the the socket at the same time. I look every where but the samples from the internet only shows example of server replies to client after receiving requests from clients.
    Let's say that:
    Client 1 ->Socket 1 -> Server 1
    Now if there are two threads in the server, one blocked waiting for the input from client on socket 1, the second one write something on the socket to client 1, is it possible?
    And if it's possible, if at the time Server 1 writes information to Client 1, Client 1 writes some information to Server 1 too, will there be any conflict problem or the socket could handle that two ways communication simultaneously?
    It's critical questions for me. Thanks for your help.

    I really use Server Client paradigm. However, beside the request, response mechanism, there is also an additional mechanism called update which server periodically send information update to client without the need for a request from client.
    So you suggest client should initiate 2 sockets, one for request and response, one for receiving update from the server? Will this work?

  • Open/close 2 doors at the same time

    Im having trouble (again).. this time - I need to open/close
    two doors at the same time with the activation being from a button
    (object) that is not linked to the doors. How can i get this done?
    In addition to this, can i get lights to turn on/off at this very
    same moment. For instance green light you can open the door... red
    light door is already open.. or in process of open/close. Any help
    is appreciated!

    jah_p,
    I would use an object-oriented approach, using parent scripts
    as the object envelop, so to speak;
    if you are not familiar with object-oriented programming, you
    would need at least a day to get it under control; once you have
    figured it out you would create one generic 'door' object which
    would have rotation amounts and opening and closing
    methods/functions in it;
    when you would instantiate a new door 'object' you would feed
    it the door model that you want to open/close;
    example:
    [ code]
    global purple_door_object
    global yellow_door_object
    on startmovie
    purple_door = member("your_world").model("purple_door")
    purple_door_object = script(
    "generic_parent_script_for_doors" ).new( me , purple_door )
    yellow_door = member("your_world").model("yellow_door")
    yellow_door_object = script(
    "generic_parent_script_for_doors" ).new( me , yellow_door )
    end
    [/code]
    so at the beginning of the movie you create the door
    'objects';
    later when you press a button or whatever you would call one
    of these objects, or both, and tell them to do their thing, such as
    'open';
    example:
    [code]
    global purple_door_object
    global yellow_door_object
    on someevent
    purple_door_object.open_it( )
    yellow_door_object.open_it( )
    end
    [/code]
    your generic door object parent script would look something
    like this:
    [code]
    property this_door_model
    property total_degrees_to_open
    property amount_to_open_each_frame
    on new me , arg_door_model
    this_door_model = arg_door_model
    total_degrees_to_open = 85
    amount_to_open_each_frame = 3
    return me
    end
    on open_it me
    -- the 'me' thing is confusing; you will have to read up on
    it; I can't explain it;
    -- here you will probably create a timeout object that will
    call a rotate script every 50 milliseconds or so; and you will have
    to do the math to see if the door is completely open yet; if so
    then kill the timeout
    end
    [/code]
    I hope that this helps;
    dsdsdsdsd

  • Listening to 2 UDP sockets at the same time

    I would like to know if it is possible to listen to two different UDP sockets at the same time without loss of any packets? If so, will the data be buffered ? How do we limit the buffer size on a Windows XP host?

    gprassad,
    You can use two parallel UDP Read functions working in a loop. Set a timeout to low value and clear the timeout error if it occures. Data transferred by UDP protocol is buffered by operating system and the user has no direct way to change it in LabVIEW.
    Arkadiusz Roszczewski
    National Instruments

  • Unable to open 2 9509 switches at the same time in Cisco Device Manager

    Dear Friends,
    There are a pair of MDS 9509 switches whose management addresses are 172.16.2.197 and 172.16.2.198.
    When we try to manage these Devices through Cisco device manager, the first device opens up without any problem, but when the second 9509 is opened in Cisco Device Manager, it fails giving the following error message:
    "Open udp transport failed: Address already in use: Cannot bind"
    To get around this issue, if we close the first interface to the 9509 switch, then we are able to open up the second 9509 in Device Manager.
    We have this problem only in Cisco device manager. If we open one switch in Cisco device manager and the other switch in Cisco Fabric Manager, it works.
    Also, we can telnet to both the devices successfully at a time.
    The device manager in use is 4.1.
    Please find enclosed the sh version outputs for your kind reference.
    Can you please help me understand the cause of this issue?
    Thanks a lot
    Gautam

    Is it always the same MDS that fails to open, or can you open either one first, and then the second one poses the problem (no matter which one is second)?
    Can you try from a second work station and see if you can open DM to both switched at the same time? I suspect the address it is complaining about is the local workstation IP, not the MDS IP.
    If you open the FM map, then you click on the MDS ICONs, can you open DM to both MDS?
    - Mike

  • File open on multiple computers at the same time

    Hello,
    I have noticed something peculiar. Whenever I open or save a file in Illustrator CC 2014, it shows as an open file on our server (as it should). Shortly thereafter, it not longer shows as open, thereby enabling another user to open it and edit it at the same time.
    What this means is, that 2-3-4 people can have the same document open, without knowing it, which could lead to some pretty annoying issues with content not being saved.
    Indesign does not behave in the same matter, since it creates a lock-file and keeps the file-handle open on the server.
    Is this by design, a bug or are we doing something wrong?
    Thanks!
    /Thomas

    How are you determining the file is open and in use, server utility or a utility on your platform (which one are you on)?
    This is by design so more than one user can work on the same file. For example we have a brand guideline in .ai format for each brand that everyone pulls elements from. On a new brand the guideline is updated and added to often by the brand guardian.
    InDesign last I heard is different and does not allow 2 people to open the same file. That makes sense since InDesign is a multi-page and Illustrator historically was only one page at a time until Artboards.

  • How to stop a file opening on two computers at the same time?

    in OS9, if a file was open, another computer on the network couldn't open it. Now in 10.4 we can have the file open on two computers and the first they know is when one goes to save it. We still want to access and edit the file across the network, just not at the same time. Is there a better way to do this?
    thanks

    Some applications take note of files being open in multiple locations. One great example is Circus Ponies Notebook, which warns a user opening a file if it is still open for another user.

  • Cannot open 2 Virtual Machines at the same time to access the same Database

    Folks,
    Hello.
    I am installing Oracle Database 11gR2 RAC system using 2 Virtual Machines (rac1 and rac2) on the top of VMPlayer 3.
    The VM rac1 and rac2 run correctly when one of them is shutdown.
    Their locations are F:\VM_RAC\rac1 and F:\VM_RAC\rac2.
    While rac2 is running, I open rac1. But this error message comes up:
    Error: "Cannot open the disk F:\VM_RAC\sharerac\asm1.vmdk or one of snapshot disks it depends on. Reason: failed to lock the file."
    While rac1 is running, I open rac2. But this error message comes up:
    Error: "Cannot open the disk F:\VM_RAC\sharerac\asm1.vmdk or one of snapshot disks it depends on. Reason: failed to lock the file."
    The 2 error messages are the same. This means I cannot open 2 VMs rac1 and rac2 at the same time. When we run RAC system, we have to open 2 machines or more than 2 machines at the same time so that all machines can access the same Database Server.
    My question is:
    Can any folk tell me how to have rac1 and rac2 run at the same time ?
    Thanks.

    You need to disable disk locking, which ordinarily is performed by the first VM to prevent any other VMs from corrupting your vmdk files via uncoordinated writes. You will have to shutdown both of your VMs and edit the *.vmx flat file for each, adding lines like the following (settings taken from workstation 6, but should be nearly identical settings for VM Player 3.x):
    http://crosbysite.blogspot.com/2007/10/clustering-in-vmware-workstation-6.html
    scsi1.sharedbus = "Virtual"
    disk.locking = "false"
    diskLib.dataCacheMaxSize = "0"
    diskLib.dataCacheMaxReadAheadSize = "0"
    diskLib.dataCacheMinReadAheadSize = "0"
    diskLib.dataCachePageSize = "4096"
    diskLib.maxUnsyncedWrites = "0"
    A few comments:
    - your shared disks (scsi1) must be on a separate virtual scsi bus than the boot disk (scsi0), to allow setting the sharedbus flag as seen above.
    - you must also ensure the cache parameters and unsynced writes settings are set to guarantee that all IO is immediately flushed to the vmdk file so the other VM can immediately access the latest version of data.

  • #ref error when opening two linked worksheets at the same time

    Dear all,
    I've two workbooks (A and B) wich some cells are linked between them.
    The problem is that if I open A workbook, links works great taking the values from B, but if I open B (i mean, both workbooks opened at the same time), at the A workbook I see #ref error in the formula.
    If I manually replace #ref for its previuos value, (in this case is the name of the sheet) it works!
    I've several workbooks acting this way with several links between them, so replacing manually each time is not an option.
    Can someone help me please?
    Thanks in advance.

    Hi,
    First, please check whether the file extension is correct. If in Excel 2010, the file extension will be .xlsx, in Excel 2003, it will be .xls.
    This problem occurs if the workbook that you open was last saved in a version of Excel that is earlier than the version that you are currently using to open the
    workbook. This problem occurs because the newer version of Excel forces a complete recalculation of all open workbooks that were previously saved in an earlier version of Excel, regardless of the link update status. To fully recalculate a workbook, Excel forces
    updates of all external references. This behavior occurs even after you decide not to update those links when you are prompted. Excel updates the workbook calculation chain to the current version of Excel. If the external link sources are unavailable, Excel
    cannot calculate correctly. Therefore, Excel returns #REF! errors. This is also true of DDE links that are unavailable during the recalculation process.
    To work around this problem, use one of the following methods.
    Make sure that external link sources are available before you open the workbook
    Update or remove links
    Permanently remove the link formula, and then replace it with the value
    Quote from:
    http://support.microsoft.com/kb/925893
    Jaynet Zhang
    TechNet Community Support

  • Opening 2 Skype Accounts At The Same Time

    Is it possible to open 2 accounts at the same time? If this possible, please guide me through the process by replying to my e-mail *removed for privacy*. Thank you.

    Try below:
    go to Skype folder inside program files / (x86) and go to phone folder and then right click on Skype application and select send to Desktop (Create shortcut)
    Right click on this shortcut and type
    "C:\Program Files\Skype\Phone\Skype.exe" /secondary in the target field. (32-Bit)
    "C:\Program Files (x86)\Skype\Phone\Skype.exe" /secondary in the target field. (64-Bit)
    there is a space before /secondary
    You may Refer:
    How can I run two Skype accounts on the same computer?
    Regards,
    Tamim
    Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

Maybe you are looking for