• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PAP not working in X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PAP not working in X


  • Subject: Re: PAP not working in X
  • From: Akira Nagata <email@hidden>
  • Date: Fri, 19 Apr 2002 18:43:55 +0900

Hi Will,

I also have not found sample code about PAP on X. I did cut and try
repeatedly.

You seem to having multiple jobs in a communication. If so, I recommend you
to establish connection for each job, at least on X.

[1] Open PAP connection.
[2] Send all available data.
[3] Send the last packet with EOF flag on.
[4] Receive all the data returned from PAP server.
[5] Close the connection.

Doing multiple jobs in a communication was possible without limitation
(virtually) on traditional MacOS, but X. I am not sure the reason, it is
derived from my experience.

Cheers,
----------------------------
Akira Nagata
Technical Support
Yukos World Co., Ltd.
Tokyo Japan
mailto:email@hidden


on 02.4.19 4:14 AM, Will at email@hidden wrote:

> Hmmmm, well does anyone know of an example of using the pap_read
> and pap_write functions? I have one called callAT and that is what I
> have been using but it is also the code with the problem, I have gone
> through this file and bare bones created another file that is much
> cleaner and just has the 4 pap methods open, write, read, and close. I
> tried with that and it still hangs on the 5th write. I am about to
> check the packets between the computer and the printer as I noticed the
> lock up leaves the printer in a waiting state therefore I am guessing at
> least part of the 5th packet is getting over there, I just have a
> feeling it is going to be corrupt.
> Also, I checked the Apple example code at the web site and couldn't
> find an example of a client using PAP just PAP servers anyone got an
> example of a PAP client for OS X?
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: PAP not working in X (From: Will <email@hidden>)

  • Prev by Date: Re: PAP not working in X
  • Next by Date: X: USB enet driver, unplugging problems
  • Previous by thread: Re: PAP not working in X
  • Next by thread: X: USB enet driver, unplugging problems
  • Index(es):
    • Date
    • Thread