Ok a few things to check for:
* Disable all firewalls
* Make sure NetBEUI is enabled on both computers
* Make sure the Windows XP computer has the name of the computer logged in user of Windows 98 added as an XP user
* Add the XP user to anything you want to share
That fixed my problem
connecting, xp, sharestrouble, sharesok, disable, firewalls, netbeui, enabled, logged, user,