In the latest Nuts & Volts issue their is a port of 'C' to PicBasic Pro started for the 18f67J60. Maybe sifting thru the code will answer your question?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Any ideas on how to send IP packets over the ENC28J60 using GCBasic?
In the latest Nuts & Volts issue their is a port of 'C' to PicBasic Pro started for the 18f67J60. Maybe sifting thru the code will answer your question?