home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / 15146 < prev    next >
Encoding:
Internet Message Format  |  1992-08-11  |  1.4 KB

  1. Xref: sparky comp.windows.x:15146 comp.windows.x.intrinsics:181
  2. Newsgroups: comp.windows.x,comp.windows.x.intrinsics
  3. Path: sparky!uunet!decwrl!zazen!news
  4. From: daerb@vms.macc.wisc.edu (David Erb)
  5. Subject: Question: should I use the ConnectionNumber() macro?
  6. Message-ID: <1992Aug12.114716.24783@macc.wisc.edu>
  7. Sender: news@macc.wisc.edu (USENET News System)
  8. Organization: University of Wisconsin Academic Computing Center
  9. Date: 12 AUG 92 06:46:28    
  10. Lines: 32
  11.  
  12. I would like to use the following technique, but have heard
  13. mixed rumblings about its advisability:
  14.  
  15.   use "ConnectionNumber(display)" in a select() call with some
  16.   other sockets to wait for messages from the X server while
  17.   also waiting for messages on the other sockets.
  18.  
  19. What's the party line on this technique?
  20.  
  21. Is this portable across all Unix-like X client platforms?
  22.  
  23. Is this portable across all X client platforms which support the
  24. select() mechanism?
  25.  
  26. Are there examples of platforms where there is more than one
  27. socket used to implement the connection between a client and the
  28. server?
  29.  
  30. Do I stand a chance of a race condition where I lose contact
  31. with the server?
  32.  
  33. Any other wierd gotchas to watch out for?
  34.  
  35. I'd love to hear any specific comments or advice.
  36.  
  37. Any help and advice would be appreciated.  Pointers
  38. to sources of other info would be great.  Please
  39. e-mail me directly and I will post a summary.
  40. Thanks in advance.
  41.  
  42. Dave
  43. daerb@macc.wisc.edu
  44.